298 lines
7.9 KiB
HTML
298 lines
7.9 KiB
HTML
<!-- Creator : groff version 1.22.4 -->
|
|
<!-- CreationDate: Mon Oct 17 01:28:34 2022 -->
|
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
|
"http://www.w3.org/TR/html4/loose.dtd">
|
|
<html>
|
|
<head>
|
|
<meta name="generator" content="groff -Thtml, see www.gnu.org">
|
|
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
|
|
<meta name="Content-Style" content="text/css">
|
|
<style type="text/css">
|
|
p { margin-top: 0; margin-bottom: 0; vertical-align: top }
|
|
pre { margin-top: 0; margin-bottom: 0; vertical-align: top }
|
|
table { margin-top: 0; margin-bottom: 0; vertical-align: top }
|
|
h1 { text-align: center }
|
|
</style>
|
|
<title>DF</title>
|
|
|
|
</head>
|
|
<body>
|
|
|
|
<h1 align="center">DF</h1>
|
|
|
|
<a href="#NAME">NAME</a><br>
|
|
<a href="#SYNOPSIS">SYNOPSIS</a><br>
|
|
<a href="#DESCRIPTION">DESCRIPTION</a><br>
|
|
<a href="#OPTIONS">OPTIONS</a><br>
|
|
<a href="#AUTHOR">AUTHOR</a><br>
|
|
<a href="#REPORTING BUGS">REPORTING BUGS</a><br>
|
|
<a href="#COPYRIGHT">COPYRIGHT</a><br>
|
|
<a href="#SEE ALSO">SEE ALSO</a><br>
|
|
|
|
<hr>
|
|
|
|
|
|
<h2>NAME
|
|
<a name="NAME"></a>
|
|
</h2>
|
|
|
|
|
|
<p style="margin-left:11%; margin-top: 1em">df −
|
|
report file system space usage</p>
|
|
|
|
<h2>SYNOPSIS
|
|
<a name="SYNOPSIS"></a>
|
|
</h2>
|
|
|
|
|
|
<p style="margin-left:11%; margin-top: 1em"><b>df</b>
|
|
[<i>OPTION</i>]... [<i>FILE</i>]...</p>
|
|
|
|
<h2>DESCRIPTION
|
|
<a name="DESCRIPTION"></a>
|
|
</h2>
|
|
|
|
|
|
<p style="margin-left:11%; margin-top: 1em">This manual
|
|
page documents the GNU version of <b>df</b>. <b>df</b>
|
|
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.</p>
|
|
|
|
<p style="margin-left:11%; margin-top: 1em">If an argument
|
|
is the absolute file name of a 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.</p>
|
|
|
|
<h2>OPTIONS
|
|
<a name="OPTIONS"></a>
|
|
</h2>
|
|
|
|
|
|
<p style="margin-left:11%; margin-top: 1em">Show
|
|
information about the file system on which each FILE
|
|
resides, or all file systems by default.</p>
|
|
|
|
<p style="margin-left:11%; margin-top: 1em">Mandatory
|
|
arguments to long options are mandatory for short options
|
|
too. <b><br>
|
|
−a</b>, <b>−−all</b></p>
|
|
|
|
<p style="margin-left:22%;">include pseudo, duplicate,
|
|
inaccessible file systems</p>
|
|
|
|
<p style="margin-left:11%;"><b>−B</b>,
|
|
<b>−−block−size</b>=<i>SIZE</i></p>
|
|
|
|
<p style="margin-left:22%;">scale sizes by SIZE before
|
|
printing them; e.g., ’−BM’ prints sizes in
|
|
units of 1,048,576 bytes; see SIZE format below</p>
|
|
|
|
<p style="margin-left:11%;"><b>−h</b>,
|
|
<b>−−human−readable</b></p>
|
|
|
|
<p style="margin-left:22%;">print sizes in powers of 1024
|
|
(e.g., 1023M)</p>
|
|
|
|
<p style="margin-left:11%;"><b>−H</b>,
|
|
<b>−−si</b></p>
|
|
|
|
<p style="margin-left:22%;">print sizes in powers of 1000
|
|
(e.g., 1.1G)</p>
|
|
|
|
<p style="margin-left:11%;"><b>−i</b>,
|
|
<b>−−inodes</b></p>
|
|
|
|
<p style="margin-left:22%;">list inode information instead
|
|
of block usage</p>
|
|
|
|
<table width="100%" border="0" rules="none" frame="void"
|
|
cellspacing="0" cellpadding="0">
|
|
<tr valign="top" align="left">
|
|
<td width="11%"></td>
|
|
<td width="3%">
|
|
|
|
|
|
<p><b>−k</b></p></td>
|
|
<td width="8%"></td>
|
|
<td width="30%">
|
|
|
|
|
|
<p>like <b>−−block−size</b>=<i>1K</i></p></td>
|
|
<td width="48%">
|
|
</td></tr>
|
|
</table>
|
|
|
|
<p style="margin-left:11%;"><b>−l</b>,
|
|
<b>−−local</b></p>
|
|
|
|
<p style="margin-left:22%;">limit listing to local file
|
|
systems</p>
|
|
|
|
|
|
<p style="margin-left:11%;"><b>−−no−sync</b></p>
|
|
|
|
<p style="margin-left:22%;">do not invoke sync before
|
|
getting usage info (default)</p>
|
|
|
|
|
|
<p style="margin-left:11%;"><b>−−output</b>[=<i>FIELD_LIST</i>]</p>
|
|
|
|
<p style="margin-left:22%;">use the output format defined
|
|
by FIELD_LIST, or print all fields if FIELD_LIST is
|
|
omitted.</p>
|
|
|
|
<p style="margin-left:11%;"><b>−P</b>,
|
|
<b>−−portability</b></p>
|
|
|
|
<p style="margin-left:22%;">use the POSIX output format</p>
|
|
|
|
<table width="100%" border="0" rules="none" frame="void"
|
|
cellspacing="0" cellpadding="0">
|
|
<tr valign="top" align="left">
|
|
<td width="11%"></td>
|
|
<td width="9%">
|
|
|
|
|
|
<p><b>−−sync</b></p></td>
|
|
<td width="2%"></td>
|
|
<td width="56%">
|
|
|
|
|
|
<p>invoke sync before getting usage info</p></td>
|
|
<td width="22%">
|
|
</td></tr>
|
|
</table>
|
|
|
|
<p style="margin-left:11%;"><b>−−total</b></p>
|
|
|
|
<p style="margin-left:22%;">elide all entries insignificant
|
|
to available space, and produce a grand total</p>
|
|
|
|
<p style="margin-left:11%;"><b>−t</b>,
|
|
<b>−−type</b>=<i>TYPE</i></p>
|
|
|
|
<p style="margin-left:22%;">limit listing to file systems
|
|
of type TYPE</p>
|
|
|
|
<p style="margin-left:11%;"><b>−T</b>,
|
|
<b>−−print−type</b></p>
|
|
|
|
<p style="margin-left:22%;">print file system type</p>
|
|
|
|
<p style="margin-left:11%;"><b>−x</b>,
|
|
<b>−−exclude−type</b>=<i>TYPE</i></p>
|
|
|
|
<p style="margin-left:22%;">limit listing to file systems
|
|
not of type TYPE</p>
|
|
|
|
<table width="100%" border="0" rules="none" frame="void"
|
|
cellspacing="0" cellpadding="0">
|
|
<tr valign="top" align="left">
|
|
<td width="11%"></td>
|
|
<td width="9%">
|
|
|
|
|
|
<p><b>−v</b></p></td>
|
|
<td width="2%"></td>
|
|
<td width="40%">
|
|
|
|
|
|
<p>(ignored)</p></td>
|
|
<td width="38%">
|
|
</td></tr>
|
|
<tr valign="top" align="left">
|
|
<td width="11%"></td>
|
|
<td width="9%">
|
|
|
|
|
|
<p><b>−−help</b></p></td>
|
|
<td width="2%"></td>
|
|
<td width="40%">
|
|
|
|
|
|
<p>display this help and exit</p></td>
|
|
<td width="38%">
|
|
</td></tr>
|
|
</table>
|
|
|
|
|
|
<p style="margin-left:11%;"><b>−−version</b></p>
|
|
|
|
<p style="margin-left:22%;">output version information and
|
|
exit</p>
|
|
|
|
<p style="margin-left:11%; margin-top: 1em">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>
|
|
|
|
<p style="margin-left:11%; margin-top: 1em">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). Binary prefixes can be used,
|
|
too: KiB=K, MiB=M, and so on.</p>
|
|
|
|
<p style="margin-left:11%; margin-top: 1em">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).</p>
|
|
|
|
<h2>AUTHOR
|
|
<a name="AUTHOR"></a>
|
|
</h2>
|
|
|
|
|
|
<p style="margin-left:11%; margin-top: 1em">Written by
|
|
Torbjorn Granlund, David MacKenzie, and Paul Eggert.</p>
|
|
|
|
<h2>REPORTING BUGS
|
|
<a name="REPORTING BUGS"></a>
|
|
</h2>
|
|
|
|
|
|
<p style="margin-left:11%; margin-top: 1em">GNU coreutils
|
|
online help: <https://www.gnu.org/software/coreutils/>
|
|
<br>
|
|
Report any translation bugs to
|
|
<https://translationproject.org/team/></p>
|
|
|
|
<h2>COPYRIGHT
|
|
<a name="COPYRIGHT"></a>
|
|
</h2>
|
|
|
|
|
|
<p style="margin-left:11%; margin-top: 1em">Copyright
|
|
© 2022 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.</p>
|
|
|
|
<h2>SEE ALSO
|
|
<a name="SEE ALSO"></a>
|
|
</h2>
|
|
|
|
|
|
<p style="margin-left:11%; margin-top: 1em">Full
|
|
documentation
|
|
<https://www.gnu.org/software/coreutils/df> <br>
|
|
or available locally via: info '(coreutils) df
|
|
invocation'</p>
|
|
<hr>
|
|
</body>
|
|
</html>
|