This was a small surprise after the latest updates to Gentoo…
The command “df” shows all presently mounted filesystems… Except it doesn’t for the latest version!
For the df version now on Gentoo:
# df --version
df (GNU coreutils) 8.21
Packaged by Gentoo (8.21 (p1.0))
Copyright (C) 2013 Free Software Foundation, Inc.
you now only see by default the first example of any mounted device or device partition, regardless of how many places that device or device partition has been (multiply) mounted. (The file /etc/mtab
lists all the individual mounts ofcourse.)
To get the old style of seeing a line of output for every individual mount point, you need to add the “-a” option. However, that also lists various system mounts which you normally do not wish to see… So, by the power of “alias”, I’ve had to re-alias my “alias dfh='df -h'
” to instead be:
# alias dfh="df -ha | grep -v '\- /'" # List fs with Human numbers
Leave a Reply
You must be logged in to post a comment.