DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

df(1bsd)


df -- (BSD) report free disk space on file systems

Synopsis

   /usr/ucb/df  [-i] [-a] [-t type | file . . . ]

Description

df displays the amount of disk space occupied by currently mounted file systems, the amount of used and available space, and how much of the file system's total capacity has been used. Used without arguments, df reports on all mounted file systems, producing something like the following table. Note that filesystem names may differ on different architectures.
   Filesystem  kbytes  used   avail  capacity    Mounted on
   /dev/root    7445   4714   1986     70%       /
   /dev/0s10    5148   3279   1868     64%       /stand

Note that ``used''+``avail'' is less than the amount of space in the file system (kbytes); this is because the system reserves a fraction of the space in the file system to allow its file system allocation routines to work well. The amount reserved is typically about 10%; this may be adjusted using tunefs(1M). When all the space on a file system except for this reserve is in use, only the super-user can allocate new files and data blocks to existing files. When a file system is overallocated in this way, df may report that the file system is more than 100% utilized.

If arguments to df are disk partitions (for example, /dev/root or pathnames, df produces a report on the file system containing the named file. Thus df . shows the amount of space on the file system containing the current directory.

Options

The options for df are as follows:

-a
Reports on all file systems including the uninteresting ones which have zero total blocks. (For example, automounter)

-i
Report the number of used and free inodes.

-t type
Report on file systems of a given type (for example, nfs).

Files


/etc/mnttab
List of file systems currently mounted.

References

du(1M), quot(1M), tunefs(1M)
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004