Results 1 to 4 of 4

Thread: Confusion about df command in manual

  1. #1
    Join Date
    May 2010
    Beans
    104

    Confusion about df command in manual

    Learning Ubuntu 13.0.04 64 bit on VM

    I am reading below text when I said :
    man df
    "..... This version of df cannot show the space available on unmounted file systems, because on most kinds of systems doing so requires very nonportable intimate knowledge of file system structures."

    ... "doing so requires very nonportable intimate knowledge" what is actual meaning of this sentence, kindly elaborate.

    Thanks and Regards
    Girish Sharma

  2. #2
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: Confusion about df command in manual

    I think it means that there is no standard method to show the space available on unmounted file systems.

    'Nonportable intimate knowledge' means to me that you would need different methods for different file systems, methods that need very detailed knowledge about that file system, and that won't work with other file systems.

    The solution is to mount the file system, run df, and if you wish, unmount the file system again.

  3. #3
    Join Date
    May 2010
    Beans
    104

    Re: Confusion about df command in manual

    Thanks for explanation.

    Regards
    Girish Sharma

  4. #4
    Join Date
    Nov 2011
    Location
    /dev/root
    Beans
    Hidden!

    Re: Confusion about df command in manual

    You are welcome, and good luck learning about linux

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •