DF(1) BSD Reference Manual DF(1)
d
\bdf
\bf - display free disk space
S
\bSY
\bYN
\bNO
\bOP
\bPS
\bSI
\bIS
\bS
d
\bdf
\bf [-
\b-i
\bin
\bn] [-
\b-t
\bt _
\bt_
\by_
\bp_
\be] [_
\bf_
\bi_
\bl_
\be | _
\bf_
\bi_
\bl_
\be_
\bs_
\by_
\bs_
\bt_
\be_
\bm _
\b._
\b._
\b.]
D
\bDE
\bES
\bSC
\bCR
\bRI
\bIP
\bPT
\bTI
\bIO
\bON
\bN
D
\bDf
\bf displays statistics about the amount of free disk space on the speci-
fied _
\bf_
\bi_
\bl_
\be_
\bs_
\by_
\bs_
\bt_
\be_
\bm or on the filesystem of which _
\bf_
\bi_
\bl_
\be is a part. Values are
displayed in 512-byte per block block counts. If neither a file or a
filesystem operand is specified, statistics for all mounted filesystems
are displayed (subject to the -
\b-t
\bt option below).
The following options are available:
-
\b-i
\bi Include statistics on the number of free inodes.
-
\b-n
\bn Print out the previously obtained statistics from the filesys-
tems. This option should be used if it is possible that one or
more filesystems are in a state such that they will not be able
to provide statistics without a long delay. When this option is
specified, d
\bdf
\bf will not request new statistics from the filesys-
tems, but will respond with the possibly stale statistics that
were previously obtained.
-
\b-t
\bt Only print out statistics for filesystems of the specified types.
More than one type may be specified in a comma separated list.
The list of filesystem types can be prefixed with ``no'' to spec-
ify the filesystem types for which action should _
\bn_
\bo_
\bt be taken.
For example, the d
\bdf
\bf command:
lists all filesystems except those of type NFS and MFS. The
sysctl(8) command can be used to find out the types of filesys-
tems that are available on the system:
E
\bEN
\bNV
\bVI
\bIR
\bRO
\bON
\bNM
\bME
\bEN
\bNT
\bTA
\bAL
\bL V
\bVA
\bAR
\bRI
\bIA
\bAB
\bBL
\bLE
\bES
\bS
BLOCKSIZE If the environmental variable BLOCKSIZE is set, the block
counts will be displayed in units of that size block.
The -
\b-n
\bn and -
\b-t
\bt flags are ignored if a file or filesystem is specified.
S
\bSE
\bEE
\bE A
\bAL
\bLS
\bSO
\bO
quota(1), statfs(2), fstatfs(2), getfsstat(2), getmntinfo(3),
fstab(5), mount(8), quot(8), sysctl(8)
H
\bHI
\bIS
\bST
\bTO
\bOR
\bRY
\bY
A d
\bdf
\bf command appeared in Version 6 AT&T UNIX.
4th Berkeley Distribution May 8, 1995 1