df(1) — Commands
OSF
NAME
df − Displays statistics on free disk space
SYNOPSIS
df [-ikn] [-t type] [file | file_system ...]
The df command displays statistics on the amount of free disk space on file_system or on the file system that contains the specified file.
FLAGS
-iReports the number of free inodes. The number of inodes controls the number of files that can exist in a file system.
-kCauses the numbers to be reported in kilobytes. By default, all reported BSD compatible numbers are in 512-byte blocks.
-nDisplays the previously obtained statistics from all mounted file systems. Use this flag if it is possible that one or more file systems are in a state such that they will not be able to provide statistics without a long delay (for example, if you have a remote file system on a server that has crashed). If you specify the -n flag, the df command does not request new statistics from the file systems; for some remote file systems, the statistics displayed may be too obsolete to be useful.
-t typeDisplays statistics for only the specified file system type.
cdfsISO 9660 CDROM (Compact Disk Read-Only Memory) file system
mfsMemory file system
nfsNetwork File System
pcXenix
s5fsSystem V File System
ufsUNIX File system (Berkeley Fast File System) (default)
DESCRIPTION
If neither a file or a file system is specified, statistics for all mounted file systems are displayed.
System V Compatibility
The root of the directory tree that contains the commands modified for SVID-2 compliance is specified in the file /etc/svid2_path. You can use /etc/svid2_profile as the basis for, or to include in, your .profile. The file /etc/svid2_profile reads /etc/svid2_path and sets the first entries in the PATH environment variable so that the modified SVID-2 commands are found first.
The df command, as modified for SVID-2 compliance, accepts one command line option (-t, print space totals) and an optional file system name or device name. The command displays the mount point, the mounted device, the number of free blocks (in 512-byte quantities), and the number of free inodes. If the -t option is specified, the command displays, on a separate line following the free block counts, the total number of blocks and inodes for each mounted device.
RELATED INFORMATION
Commands: du(1), mount(8), quot(8), quota(1).
Functions: fstatfs(2), statfs(2).
Files: fstab(4).