summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorBernhard Voelker <mail@bernhard-voelker.de>2012-11-22 15:40:54 +0100
committerBernhard Voelker <mail@bernhard-voelker.de>2012-11-22 15:40:54 +0100
commitce48a81bce089f703a12871f98ab1240c4c3554c (patch)
tree9dcadbc5ea7d5944b8c0b8b7d845ea4a7101649a /doc
parent177815716eef942ec3a4364827195fbdcf6f080f (diff)
downloadcoreutils-ce48a81bce089f703a12871f98ab1240c4c3554c.tar.xz
df: reorder default field list of --output option
As the inodes information is usually not so much of interest, and some file systems including btrfs do not even provide it, reading of the full df --output is easier when the block statistic fields come just left of the last field, the mount point. * src/df.c (all_args_string): Move the inodes fields before the block fields. (usage): Likewise. * tests/df/df-output.sh: Likewise. * doc/coreutils.texi (df invocation): Likewise. Additionally, explicitly mention the default order of the --output option.
Diffstat (limited to 'doc')
-rw-r--r--doc/coreutils.texi21
1 files changed, 11 insertions, 10 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index 70e7ca09c..cc9df7d43 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -10687,7 +10687,8 @@ out of date. This is the default.
@itemx @w{@kbd{--output}[=@var{field_list}]}
@opindex --output
Use the output format defined by @var{field_list}, or print all fields if
-@var{field_list} is omitted.
+@var{field_list} is omitted. In the latter case, the order of the columns
+conforms to the order of the field descriptions below.
The use of the @option{--output} together with each of the options @option{-i},
@option{-P}, and @option{-T} is mutually exclusive.
@@ -10704,15 +10705,6 @@ The source of the mount point, usually a device.
@item fstype
File system type.
-@item size
-Total number of blocks.
-@item used
-Number of used blocks.
-@item avail
-Number of available blocks.
-@item pcent
-Percentage of @var{used} divided by @var{size}.
-
@item itotal
Total number of inodes.
@item iused
@@ -10722,6 +10714,15 @@ Number of available inodes.
@item ipcent
Percentage of @var{iused} divided by @var{itotal}.
+@item size
+Total number of blocks.
+@item used
+Number of used blocks.
+@item avail
+Number of available blocks.
+@item pcent
+Percentage of @var{used} divided by @var{size}.
+
@item target
The mount point.
@end table