From 7ebbeeb03dca4e2c5a9b25bfec9e84859ef35eef Mon Sep 17 00:00:00 2001 From: Stephane Chazelas Date: Sun, 24 Mar 2024 17:52:32 +0000 Subject: [PATCH] doc: ls: detail output format for device files * doc/coreutils.texi (ls invocation): State that device numbers are output, instead of file size. --- doc/coreutils.texi | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/coreutils.texi b/doc/coreutils.texi index 8a21048317..8f7f43ea07 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}) -- 2.47.2