BSD 4_4_Lite2 development
[unix-history] / usr / share / man / cat1 / df.0
CommitLineData
32424d04
C
1DF(1) BSD Reference Manual DF(1)
2
3N\bNA\bAM\bME\bE
4 d\bdf\bf - display free disk space
5
6S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
7 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.]
8
9D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
10 D\bDf\bf displays statistics about the amount of free disk space on the speci-
11 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
12 displayed in 512-byte per block block counts. If neither a file or a
13 filesystem operand is specified, statistics for all mounted filesystems
14 are displayed (subject to the -\b-t\bt option below).
15
16 The following options are available:
17
18 -\b-i\bi Include statistics on the number of free inodes.
19
20 -\b-n\bn Print out the previously obtained statistics from the filesys-
21 tems. This option should be used if it is possible that one or
22 more filesystems are in a state such that they will not be able
23 to provide statistics without a long delay. When this option is
24 specified, d\bdf\bf will not request new statistics from the filesys-
25 tems, but will respond with the possibly stale statistics that
26 were previously obtained.
27
28 -\b-t\bt Only print out statistics for filesystems of the specified types.
29 More than one type may be specified in a comma separated list.
30 The list of filesystem types can be prefixed with ``no'' to spec-
31 ify the filesystem types for which action should _\bn_\bo_\bt be taken.
32 For example, the d\bdf\bf command:
33
34 df -t nonfs,mfs
35
36 lists all filesystems except those of type NFS and MFS. The
37 sysctl(8) command can be used to find out the types of filesys-
38 tems that are available on the system:
39
40 sysctl vfs
41
42E\bEN\bNV\bVI\bIR\bRO\bON\bNM\bME\bEN\bNT\bTA\bAL\bL V\bVA\bAR\bRI\bIA\bAB\bBL\bLE\bES\bS
43 BLOCKSIZE If the environmental variable BLOCKSIZE is set, the block
44 counts will be displayed in units of that size block.
45
46B\bBU\bUG\bGS\bS
47 The -\b-n\bn and -\b-t\bt flags are ignored if a file or filesystem is specified.
48
49S\bSE\bEE\bE A\bAL\bLS\bSO\bO
50 quota(1), statfs(2), fstatfs(2), getfsstat(2), getmntinfo(3),
51 fstab(5), mount(8), quot(8), sysctl(8)
52
53H\bHI\bIS\bST\bTO\bOR\bRY\bY
54 A d\bdf\bf command appeared in Version 6 AT&T UNIX.
55
564th Berkeley Distribution May 8, 1995 1