bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

df shouldn't list mount points that it can't access


From: n0dalus
Subject: df shouldn't list mount points that it can't access
Date: Sun, 9 Oct 2005 13:41:00 +0930

When there are mount points which can't be read by the current user,
df outputs something like this:
address@hidden ~]$ df
Filesystem           1K-blocks      Used Available Use% Mounted on
/dev/hdb3             15235072  10920468   3528224  76% /
/dev/hdb1               101086     30743     65124  33% /boot
/dev/hdb7            129955744 117400960   5846848  96% /data
/dev/shm                517612         0    517612   0% /dev/shm
/dev/hdb5              3050060   1871924   1020704  65% /home
/dev/hdb2              2030768     40588   1885356   3% /tmp
df: `/var/named/chroot/proc': Permission denied

In this case the mount point it can't access is part of a chroot'ed bind.
In my opinion it should just quietly ignore that mount point.

In the manpage it says that '-v' is currently unused. This is the kind
of thing that I think a verbose option would be good for.

n0dalus.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]