bug#16539: More details on df command output for you
From:
PƔdraig Brady
Subject:
bug#16539: More details on df command output for you
Date:
Sat, 25 Jan 2014 03:19:57 +0000
User-agent:
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2
On 01/24/2014 10:27 PM, Bernhard Voelker wrote:
> tag 16539 notabug
> close
> thanks
>
> On 01/24/2014 09:47 PM, Curtis Rubel wrote:
>>
>> df command output with no args:
>>
>> only 1 nfs mount is listed
> Just for info: df in openSUSE-13.1 is currently identical to that
> in coreutils-v8.21.
>
> The above is the result of df suppressing duplicate entries like
> bind mounts. This filtering is done based on the device number.
> As this example shows, a few exports of directories of the same file
> system from "host" are mounted - yet it's the same file system.
Right. Essentially df is showing storage for available file systems.
Noting that df also has a --total option, it makes sense by default
to not repeat file systems. This can be overridden easily with the
-a option as noted above.
Actually we should in fact be merging more entries!
Notice the following:
>> tmpfs 4095336 4688 4090648 1% /run
>> tmpfs 4095336 4688 4090648 1% /var/run
>> tmpfs 4095336 4688 4090648 1% /var/lock
Hopefully the attached patch addresses this
(and a couple of other test issues).
thanks,
PƔdraig.