120 lines
3.9 KiB
Groff
120 lines
3.9 KiB
Groff
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.50.1.
|
|
.TH DF "1" "April 2025" "GNU coreutils 9.7" "User Commands"
|
|
.SH NAME
|
|
df \- report file system space usage
|
|
.SH SYNOPSIS
|
|
.B df
|
|
[\fI\,OPTION\/\fR]... [\fI\,FILE\/\fR]...
|
|
.SH DESCRIPTION
|
|
This manual page
|
|
documents the GNU version of
|
|
.BR df .
|
|
.B df
|
|
displays the amount of space available on the file system
|
|
containing each file name argument. If no file name is given, the
|
|
space available on all currently mounted file systems is shown.
|
|
Space is shown in 1K blocks by default, unless the environment
|
|
variable POSIXLY_CORRECT is set, in which case 512-byte blocks are
|
|
used.
|
|
.PP
|
|
If an argument is the absolute file name of a device node containing a
|
|
mounted file system,
|
|
.B df
|
|
shows the space available on that file system rather than on the
|
|
file system containing the device node. This version of
|
|
.B df
|
|
cannot show the space available on unmounted file systems, because on
|
|
most kinds of systems doing so requires non-portable intimate
|
|
knowledge of file system structures.
|
|
.SH OPTIONS
|
|
.PP
|
|
Show information about the file system on which each FILE resides,
|
|
or all file systems by default.
|
|
.PP
|
|
Mandatory arguments to long options are mandatory for short options too.
|
|
.TP
|
|
\fB\-a\fR, \fB\-\-all\fR
|
|
include pseudo, duplicate, inaccessible file systems
|
|
.TP
|
|
\fB\-B\fR, \fB\-\-block\-size\fR=\fI\,SIZE\/\fR
|
|
scale sizes by SIZE before printing them; e.g.,
|
|
\&'\-BM' prints sizes in units of 1,048,576 bytes;
|
|
see SIZE format below
|
|
.TP
|
|
\fB\-h\fR, \fB\-\-human\-readable\fR
|
|
print sizes in powers of 1024 (e.g., 1023M)
|
|
.TP
|
|
\fB\-H\fR, \fB\-\-si\fR
|
|
print sizes in powers of 1000 (e.g., 1.1G)
|
|
.TP
|
|
\fB\-i\fR, \fB\-\-inodes\fR
|
|
list inode information instead of block usage
|
|
.TP
|
|
\fB\-k\fR
|
|
like \fB\-\-block\-size\fR=\fI\,1K\/\fR
|
|
.TP
|
|
\fB\-l\fR, \fB\-\-local\fR
|
|
limit listing to local file systems
|
|
.TP
|
|
\fB\-\-no\-sync\fR
|
|
do not invoke sync before getting usage info (default)
|
|
.TP
|
|
\fB\-\-output\fR[=\fI\,FIELD_LIST\/\fR]
|
|
use the output format defined by FIELD_LIST,
|
|
or print all fields if FIELD_LIST is omitted
|
|
.TP
|
|
\fB\-P\fR, \fB\-\-portability\fR
|
|
use the POSIX output format
|
|
.TP
|
|
\fB\-\-sync\fR
|
|
invoke sync before getting usage info
|
|
.TP
|
|
\fB\-\-total\fR
|
|
elide all entries insignificant to available space,
|
|
and produce a grand total
|
|
.TP
|
|
\fB\-t\fR, \fB\-\-type\fR=\fI\,TYPE\/\fR
|
|
limit listing to file systems of type TYPE
|
|
.TP
|
|
\fB\-T\fR, \fB\-\-print\-type\fR
|
|
print file system type
|
|
.TP
|
|
\fB\-x\fR, \fB\-\-exclude\-type\fR=\fI\,TYPE\/\fR
|
|
limit listing to file systems not of type TYPE
|
|
.TP
|
|
\fB\-v\fR
|
|
(ignored)
|
|
.TP
|
|
\fB\-\-help\fR
|
|
display this help and exit
|
|
.TP
|
|
\fB\-\-version\fR
|
|
output version information and exit
|
|
.PP
|
|
Display values are in units of the first available SIZE from \fB\-\-block\-size\fR,
|
|
and the DF_BLOCK_SIZE, BLOCK_SIZE and BLOCKSIZE environment variables.
|
|
Otherwise, units default to 1024 bytes (or 512 if POSIXLY_CORRECT is set).
|
|
.PP
|
|
The SIZE argument is an integer and optional unit (example: 10K is 10*1024).
|
|
Units are K,M,G,T,P,E,Z,Y,R,Q (powers of 1024) or KB,MB,... (powers of 1000).
|
|
Binary prefixes can be used, too: KiB=K, MiB=M, and so on.
|
|
.PP
|
|
FIELD_LIST is a comma\-separated list of columns to be included. Valid
|
|
field names are: 'source', 'fstype', 'itotal', 'iused', 'iavail', 'ipcent',
|
|
\&'size', 'used', 'avail', 'pcent', 'file' and 'target' (see info page).
|
|
.SH AUTHOR
|
|
Written by Torbjorn Granlund, David MacKenzie, and Paul Eggert.
|
|
.SH "REPORTING BUGS"
|
|
GNU coreutils online help: <https://www.gnu.org/software/coreutils/>
|
|
.br
|
|
Report any translation bugs to <https://translationproject.org/team/>
|
|
.SH COPYRIGHT
|
|
Copyright \(co 2025 Free Software Foundation, Inc.
|
|
License GPLv3+: GNU GPL version 3 or later <https://gnu.org/licenses/gpl.html>.
|
|
.br
|
|
This is free software: you are free to change and redistribute it.
|
|
There is NO WARRANTY, to the extent permitted by law.
|
|
.SH "SEE ALSO"
|
|
Full documentation <https://www.gnu.org/software/coreutils/df>
|
|
.br
|
|
or available locally via: info \(aq(coreutils) df invocation\(aq
|