summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephane Chazelas <stephane@chazelas.org>2024-03-24 17:52:32 +0000
committerPádraig Brady <P@draigBrady.com>2024-03-24 17:52:32 +0000
commit7ebbeeb03dca4e2c5a9b25bfec9e84859ef35eef (patch)
tree61dac7e31fbb7167146ac9352f2507486fa22692
parentdoc: remove older ChangeLog items (diff)
downloadcoreutils-7ebbeeb03dca4e2c5a9b25bfec9e84859ef35eef.tar.gz
coreutils-7ebbeeb03dca4e2c5a9b25bfec9e84859ef35eef.zip
doc: ls: detail output format for device files
* doc/coreutils.texi (ls invocation): State that device numbers are output, instead of file size.
-rw-r--r--doc/coreutils.texi4
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index 8a2104831..8f7f43ea0 100644
--- a/doc/coreutils.texi
+++ b/doc/coreutils.texi
@@ -7968,6 +7968,10 @@ that it is a number rather than a textual name.
Print question marks for other information that
cannot be determined.
+For block special files and character special files, the size field is
+replaced by the corresponding device major and minor numbers as two decimal
+numbers separated by a comma and at least one space.
+
Normally the size is printed as a byte count without punctuation, but
this can be overridden (@pxref{Block size}).
For example, @option{--human-readable} (@option{-h})