For the actual DF utility:
The first column is the source of the volume. On VMS, I do not know a
way to look at NFS source path as all I can tell is that it is an NFS
container. The 6th field is either the mounted device, or the path to
where the filesystem is mounted.
If the tool is not going to fully emulate the output of the Unix
utility, it may be a good idea to give it a different name to prevent
confusion.
LION> df -h
Filesystem Size Used Avail Use% Mounted on
_LION$DKA0: 8.5G 6.4G 2.1G 76% /LION$DKA0
_LION$DKA100: 8.5G 1.4G 7.1G 17% /LION$DKA100
_LION$DNA0: 932G 13G 920G 2% /LION$DNA0
_DNFS1: 919G 116G 803G 13% /DNFS1
_LION$LDA1: 651M 533M 118M 82% /LION$LDA1
For an LDA device, an enhancement would be to have the container file
under the Filesystem column.
In this case lda1 actually resides on _DNFS1:. An interesting way to
get ODS-2/5 volumes hosted on a NFS volume.
VMS 8.3 introduced mount points where you can mount other volumes.
The VMS specific source for looking them up is in the GNV Coreutils
mercurial repository.
When this is done, the actual df utility is useful in showing you in one
place where all the mount points are.
(Output edited to fit 72 columns)
$ df :== $gnv$gnu:[bin]gnv$df.exe
$ df -h
Filesystem Size Used Avail Use% Mounted on
DISK$ODS5_1:[VMS$COMMON.gnv]usr.DIR 1.2G 429M 789M 36% /usr
DISK$ODS5_1:[VMS$COMMON.gnv]man.dir 1.2G 429M 789M 36% /man
DISK$ODS5_1:[VMS$COMMON.gnv]lib.DIR 1.2G 429M 789M 36% /lib
DISK$ODS5_1:[VMS$COMMON.gnv]include.dir 1.2G 429M 789M 36% /include
DISK$ODS5_1:[VMS$COMMON.gnv]etc.dir 1.2G 429M 789M 36% /etc
DISK$ODS5_1:[VMS$COMMON.gnv]bin.DIR 1.2G 429M 789M 36% /bin
_EISNER$DRA6: 20G 3.4G 17G 17% /EISNER$DRA6
_EISNER$DKA0: 115G 74G 41G 65% /EISNER$DKA0
_EISNER$MDA0: 20M 771K 19M 4% /EISNER$MDA0
_EISNER$LDA1: 1.2G 429M 789M 36% /EISNER$LDA1
_EISNER$LDA2: 8.5G 4.4G 4.1G 52% /EISNER$LDA2
$ df --version
df (GNU coreutils) 8.21
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<
http://gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by Torbjorn Granlund, David MacKenzie, and Paul Eggert.
Regards,
-John