161 lines
5.3 KiB
HTML
161 lines
5.3 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of DF</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>DF</H1>
|
|
Section: User Commands (1)<BR>Updated: September 2019<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
df - report file system disk space usage
|
|
<A NAME="lbAC"> </A>
|
|
<H2>SYNOPSIS</H2>
|
|
|
|
<B>df</B>
|
|
|
|
[<I>,OPTION/</I>]... [<I>,FILE/</I>]...
|
|
<A NAME="lbAD"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
This manual page
|
|
documents the GNU version of
|
|
<B>df</B>.
|
|
|
|
<B>df</B>
|
|
|
|
displays the amount of disk 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. Disk
|
|
space is shown in 1K blocks by default, unless the environment
|
|
variable POSIXLY_CORRECT is set, in which case 512-byte blocks are
|
|
used.
|
|
<P>
|
|
|
|
If an argument is the absolute file name of a disk device node containing a
|
|
mounted file system,
|
|
<B>df</B>
|
|
|
|
shows the space available on that file system rather than on the
|
|
file system containing the device node. This version of
|
|
<B>df</B>
|
|
|
|
cannot show the space available on unmounted file systems, because on
|
|
most kinds of systems doing so requires very nonportable intimate
|
|
knowledge of file system structures.
|
|
<A NAME="lbAE"> </A>
|
|
<H2>OPTIONS</H2>
|
|
|
|
<P>
|
|
|
|
Show information about the file system on which each FILE resides,
|
|
or all file systems by default.
|
|
<P>
|
|
|
|
Mandatory arguments to long options are mandatory for short options too.
|
|
<DL COMPACT>
|
|
<DT id="1"><B>-a</B>, <B>--all</B><DD>
|
|
include pseudo, duplicate, inaccessible file systems
|
|
<DT id="2"><B>-B</B>, <B>--block-size</B>=<I>,SIZE/</I><DD>
|
|
scale sizes by SIZE before printing them; e.g.,
|
|
'-BM' prints sizes in units of 1,048,576 bytes;
|
|
see SIZE format below
|
|
<DT id="3"><B>-h</B>, <B>--human-readable</B><DD>
|
|
print sizes in powers of 1024 (e.g., 1023M)
|
|
<DT id="4"><B>-H</B>, <B>--si</B><DD>
|
|
print sizes in powers of 1000 (e.g., 1.1G)
|
|
<DT id="5"><B>-i</B>, <B>--inodes</B><DD>
|
|
list inode information instead of block usage
|
|
<DT id="6"><B>-k</B><DD>
|
|
like <B>--block-size</B>=<I>,1K/</I>
|
|
<DT id="7"><B>-l</B>, <B>--local</B><DD>
|
|
limit listing to local file systems
|
|
<DT id="8"><B>--no-sync</B><DD>
|
|
do not invoke sync before getting usage info (default)
|
|
<DT id="9"><B>--output</B>[=<I>,FIELD_LIST/</I>]<DD>
|
|
use the output format defined by FIELD_LIST,
|
|
or print all fields if FIELD_LIST is omitted.
|
|
<DT id="10"><B>-P</B>, <B>--portability</B><DD>
|
|
use the POSIX output format
|
|
<DT id="11"><B>--sync</B><DD>
|
|
invoke sync before getting usage info
|
|
<DT id="12"><B>--total</B><DD>
|
|
elide all entries insignificant to available space,
|
|
and produce a grand total
|
|
<DT id="13"><B>-t</B>, <B>--type</B>=<I>,TYPE/</I><DD>
|
|
limit listing to file systems of type TYPE
|
|
<DT id="14"><B>-T</B>, <B>--print-type</B><DD>
|
|
print file system type
|
|
<DT id="15"><B>-x</B>, <B>--exclude-type</B>=<I>,TYPE/</I><DD>
|
|
limit listing to file systems not of type TYPE
|
|
<DT id="16"><B>-v</B><DD>
|
|
(ignored)
|
|
<DT id="17"><B>--help</B><DD>
|
|
display this help and exit
|
|
<DT id="18"><B>--version</B><DD>
|
|
output version information and exit
|
|
</DL>
|
|
<P>
|
|
|
|
Display values are in units of the first available SIZE from <B>--block-size</B>,
|
|
and the DF_BLOCK_SIZE, BLOCK_SIZE and BLOCKSIZE environment variables.
|
|
Otherwise, units default to 1024 bytes (or 512 if POSIXLY_CORRECT is set).
|
|
<P>
|
|
|
|
The SIZE argument is an integer and optional unit (example: 10K is 10*1024).
|
|
Units are K,M,G,T,P,E,Z,Y (powers of 1024) or KB,MB,... (powers of 1000).
|
|
<P>
|
|
|
|
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).
|
|
<A NAME="lbAF"> </A>
|
|
<H2>AUTHOR</H2>
|
|
|
|
Written by Torbjorn Granlund, David MacKenzie, and Paul Eggert.
|
|
<A NAME="lbAG"> </A>
|
|
<H2>REPORTING BUGS</H2>
|
|
|
|
GNU coreutils online help: <<A HREF="https://www.gnu.org/software/coreutils/">https://www.gnu.org/software/coreutils/</A>>
|
|
<BR>
|
|
|
|
Report df translation bugs to <<A HREF="https://translationproject.org/team/">https://translationproject.org/team/</A>>
|
|
<A NAME="lbAH"> </A>
|
|
<H2>COPYRIGHT</H2>
|
|
|
|
Copyright © 2018 Free Software Foundation, Inc.
|
|
License GPLv3+: GNU GPL version 3 or later <<A HREF="https://gnu.org/licenses/gpl.html">https://gnu.org/licenses/gpl.html</A>>.
|
|
<BR>
|
|
|
|
This is free software: you are free to change and redistribute it.
|
|
There is NO WARRANTY, to the extent permitted by law.
|
|
<A NAME="lbAI"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
Full documentation at: <<A HREF="https://www.gnu.org/software/coreutils/df">https://www.gnu.org/software/coreutils/df</A>>
|
|
<BR>
|
|
|
|
or available locally via: info '(coreutils) df invocation'
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="19"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="20"><A HREF="#lbAC">SYNOPSIS</A><DD>
|
|
<DT id="21"><A HREF="#lbAD">DESCRIPTION</A><DD>
|
|
<DT id="22"><A HREF="#lbAE">OPTIONS</A><DD>
|
|
<DT id="23"><A HREF="#lbAF">AUTHOR</A><DD>
|
|
<DT id="24"><A HREF="#lbAG">REPORTING BUGS</A><DD>
|
|
<DT id="25"><A HREF="#lbAH">COPYRIGHT</A><DD>
|
|
<DT id="26"><A HREF="#lbAI">SEE ALSO</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:05:10 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|