Subject: bug#69979: [PATCH][doc] ls -l doc and size -> maj, min for device files

From: Stephane Chazelas <[email-masked]>
Date: Sun, 24 Mar 2024 10:06:11 +0000

Package: coreutils
Version: 9.4
Tags: patch

The ls documentation currently doesn't state that for device
files, the size field in the long listing format is replaced by
major, minor.

Patch attached.

-- 
Stephane
diff --git a/doc/coreutils.texi b/doc/coreutils.texi
index 8a2104831..c8e3bd110 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 a 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})