On 10/24/14 18:24, Pádraig Brady wrote: > > Note /home doesn't seem to be accessible above > which is another reason to prefer /data here. >
What do you mean by "not accessible"? Both /home and /data work fine. > In general I think df is behaving correctly here, > showing what file system space is available on the system. > If it showed both there would be an ambiguity as to > whether there were two such file systems available. > > If you want to see all nfs file systems you can do it explicitly like: > > df -a -t nfs > Sure, unless I am on a "non-coreutils" system, e.g. on AIX: bash-3.2# df Filesystem 512-blocks Free %Used Iused %Iused Mounted on /dev/hd4 4194304 3740000 11% 11555 3% / /dev/hd2 12582912 6930544 45% 52597 7% /usr /dev/hd9var 2097152 1111480 48% 9899 7% /var /dev/hd3 16777216 10351952 39% 2782595 70% /tmp /dev/fwdump 2097152 2096160 1% 5 1% /var/adm/ras/platform /dev/hd1 2097152 2090592 1% 96 1% /_home /dev/hd11admin 2097152 2096112 1% 5 1% /admin /proc - - - - - /proc /dev/hd10opt 16777216 15234200 10% 21122 2% /opt /dev/livedump 2097152 2096176 1% 4 1% /var/adm/ras/livedump /dev/fslv00 268435456 268393504 1% 4 1% /usr/sys/inst.images /dev/fslv01 1073741824 203972016 82% 2446798 10% /export /dev/fslv02 16777216 16410968 3% 9267 1% /sample /dev/fslv05 4194304000 3139006384 26% 3308821 1% /local nfs-data:/space/data 26781332448 3661107344 87% 60070969 8% /data nfs-home:/space/home 26781332448 3661107344 87% 60070969 8% /home bash-3.2# df -a -t nfs df: Not a recognized flag: a Usage: df [-P] | [-IMitv] [-gkm] [-s] [filesystem ...] [file ...] Please note that both "nfs-data" and "nfs-home" are CNAMEs for the same NFS server. /etc/fstab on Linux says nfs-home:/space/home /home nfs noatime nfs-data:/space/data /data nfs noatime The AIX host from the example is setup similar to this. Surely I am not asking you to support AIX' df flags. But it would be nice if the central tools included in coreutils stay in line with other systems. BTW, the coreutils man page says about "-a": "include dummy file systems". Sorry to say, but this is misleading. "/home" is not dummy at all. Its a valid mount point, seperate from others. Esp. there is no local partition mounted for "/home", hidden by the NFS mount. Regards Harri -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org