1.\" Copyright (c) 1989, 1990, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" Redistribution and use in source and binary forms, with or without 5.\" modification, are permitted provided that the following conditions 6.\" are met: 7.\" 1. Redistributions of source code must retain the above copyright 8.\" notice, this list of conditions and the following disclaimer. 9.\" 2. Redistributions in binary form must reproduce the above copyright 10.\" notice, this list of conditions and the following disclaimer in the 11.\" documentation and/or other materials provided with the distribution. 12.\" 3. All advertising materials mentioning features or use of this software 13.\" must display the following acknowledgement: 14.\" This product includes software developed by the University of 15.\" California, Berkeley and its contributors. 16.\" 4. Neither the name of the University nor the names of its contributors 17.\" may be used to endorse or promote products derived from this software 18.\" without specific prior written permission. 19.\" 20.\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 21.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 22.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 23.\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 24.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" SUCH DAMAGE. 31.\" 32.\" @(#)df.1 8.3 (Berkeley) 5/8/95 33.\" $FreeBSD$ 34.\" 35.Dd May 8, 1995 36.Dt DF 1 37.Os BSD 4 38.Sh NAME 39.Nm df 40.Nd display free disk space 41.Sh SYNOPSIS 42.Nm df 43.Op Fl aikn 44.Op Fl t Ar type 45.Op Ar file | Ar filesystem ... 46.Sh DESCRIPTION 47.Nm Df 48displays statistics about the amount of free disk space on the specified 49.Ar filesystem 50or on the filesystem of which 51.Ar file 52is a part. 53Values are displayed in 512-byte per block counts. 54If neither a file or a filesystem operand is specified, 55statistics for all mounted filesystems are displayed 56(subject to the 57.Fl t 58option below). 59.Pp 60The following options are available: 61.Bl -tag -width Ds 62.It Fl a 63Show all mount points, including those that were mounted with the MNT_IGNORE 64flag. 65.It Fl i 66Include statistics on the number of free inodes. 67.It Fl k 68Use 1024-byte (1-Kbyte) blocks rather than the default. Note that 69this overrides the 70.Ev BLOCKSIZE 71specification from the environment. 72.It Fl n 73Print out the previously obtained statistics from the filesystems. 74This option should be used if it is possible that one or more 75filesystems are in a state such that they will not be able to provide 76statistics without a long delay. 77When this option is specified, 78.Nm 79will not request new statistics from the filesystems, but will respond 80with the possibly stale statistics that were previously obtained. 81.It Fl t 82Only print out statistics for filesystems of the specified types. 83More than one type may be specified in a comma separated list. 84The list of filesystem types can be prefixed with 85.Dq no 86to specify the filesystem types for which action should 87.Em not 88be taken. 89For example, the 90.Nm 91command: 92.Bd -literal -offset indent 93df -t nonfs,mfs 94.Ed 95.Pp 96lists all filesystems except those of type 97.Tn NFS 98and 99.Tn MFS . 100The 101.Xr lsvfs 1 102command can be used to find out the types of filesystems 103that are available on the system. 104.El 105.Sh ENVIRONMENT 106.Bl -tag -width BLOCKSIZE 107.It Ev BLOCKSIZE 108If the environment variable 109.Ev BLOCKSIZE 110is set, the block counts will be displayed in units of that size block. 111.El 112.Sh BUGS 113The 114.Fl n 115and 116.Fl t 117flags are ignored if a file or filesystem is specified. 118.Sh SEE ALSO 119.Xr lsvfs 1 , 120.Xr quota 1 , 121.Xr fstatfs 2 , 122.Xr getfsstat 2 , 123.Xr statfs 2 , 124.Xr getmntinfo 3 , 125.Xr fstab 5 , 126.Xr mount 8 , 127.Xr quot 8 128.Sh HISTORY 129A 130.Nm 131command appeared in 132.At v1 . 133