DF(1-BSD) RISC/os Reference Manual DF(1-BSD)
NAME
df - disk free
SYNOPSIS
df [ -f ] [ -b ] [ -u ] [ -i ] [ -t type | file... ]
DESCRIPTION
Normally, df is used to summarize disk usage in a table that
gives the filesystem name, the total amount of space (in
kilobytes), the amount of space used (in kilobytes), the
amount of space (in kilobytes) still available, the percen-
tage of the space used, and the name of the top level direc-
tory of the filesystem (also called the mount point). The
table looks like the following:
Filesystem kbytes used avail capacity Mounted on
/dev/ip0a 14741 11025 2241 83% /
The percentage used (``capacity'') column may show a value
greater than 100%. This is because some portion of the
filesystem, usually 10%, is reserved for the super-user.
If the -i option is given, a different summary table is
printed, giving the filesystem name, the number of inodes
(files) used, the number of inodes free, the percentage of
inodes used, and the mount point for the filesystem. The
table looks like the following:
Filesystem iused ifree %iused Mounted on
/dev/ip0a 603 6821 8% /
If no -t option or filenames are given, all mounted filesys-
tems are summarized.
The -t option must be given with a type argument to tell df
to only summarize filesystems of that type. Valid values
for type are:
4.3 summarize only locally mounted filesystems
nfs summarize only remotely mounted filesystems
local summarize all non-nfs mounted filesystems
If multiple -t options are given, only the last one is used.
Finally, a set of filesystems may be specified by either
naming the device, such as ``/dev/rip0a'', or by files that
reside on the filesystem. For example, the root filesystem
is normally mounted from /dev/rip0a, so the following com-
mands are equivalent:
Printed 1/15/91 Page 1
DF(1-BSD) RISC/os Reference Manual DF(1-BSD)
df /
df /vmunix
df /dev/rip0a
The -b option reports the space in 512 byte units for compa-
tibility with older file system implementations.
The -f option forces a scan of the free list to occur which
is a more accurate, and a somewhat more time consuming meas-
urement.
The -u option verifies that a remote NFS host is up before
attempting to query it.
FILES
/etc/mtab list of mounted filesystems
SEE ALSO
mount(1M) in the System Administrator's Reference Manual.
fstab(4) in the Programmer's Reference Manual.
BUGS
Due to the way NFS works, the inode information for remotely
mounted filesystems is not available, and the values are
printed as ``N/A''.
Page 2 Printed 1/15/91