new copyright notice
[unix-history] / usr / src / bin / df / df.1
.\" Copyright (c) 1989 The Regents of the University of California.
.\" All rights reserved.
.\"
.\" %sccs.include.redist.man%
.\"
.\" @(#)df.1 6.5 (Berkeley) %G%
.\"
.TH DF 1 ""
.UC 4
.SH NAME
df \- disk free
.SH SYNOPSIS
.B df
[
.B \-ikn
] [ file | filesystem ... ]
.SH DESCRIPTION
.I Df
displays statistics on the amount of free disk space on the
filesystem
.I filesystem
or on the filesystem of which
.I file
is a part.
If neither a file or a filesystem is specified,
statistics for all mounted filesystems are displayed.
The following options are available:
.TP
-i
Include statistics on the number of free inodes.
.TP
-k
By default, all reported numbers are in 512-byte blocks.
This causes the numbers to be reported in kilobytes.
.TP
-n
Print out the previously obtained statistics from the filesystems.
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,
.I df
will not request new statistics from the filesystems,
but will respond with the possibly stale statistics
that were previously obtained.
.SH BUGS
The
.I -n
flag is ignored if a file or filesystem is specified.
.SH "SEE ALSO"
quota(1),
statfs(2), fstatfs(2), getfsstat(2),
getmntinfo(3),
fstab(5),
mount(8), quot(8)