]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
doc: ls: detail output format for device files
authorStephane Chazelas <stephane@chazelas.org>
Sun, 24 Mar 2024 17:52:32 +0000 (17:52 +0000)
committerPádraig Brady <P@draigBrady.com>
Sun, 24 Mar 2024 17:52:32 +0000 (17:52 +0000)
* doc/coreutils.texi (ls invocation): State that device numbers
are output, instead of file size.

doc/coreutils.texi

index 8a21048317b88f833921d81820b433e9d4cf6c6c..8f7f43ea07554412b825efce2004be40f1a2c4c9 100644 (file)
@@ -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})