From: Stephane Chazelas <stephane@chazelas.org>
To: 69979@debbugs.gnu.org
Subject: bug#69979: [PATCH][doc] ls -l doc and size -> maj, min for device files
Date: Sun, 24 Mar 2024 10:06:11 +0000 [thread overview]
Message-ID: <20240324100611.pmspac3toqs2vim4@chazelas.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 215 bytes --]
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
[-- Attachment #2: doc-ls-maj-min-for-devices.diff --]
[-- Type: text/x-diff, Size: 647 bytes --]
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})
next reply other threads:[~2024-03-24 12:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-24 10:06 Stephane Chazelas [this message]
[not found] ` <handler.69979.B.171128215527898.ack@debbugs.gnu.org>
2024-03-24 12:40 ` bug#69979: [PATCH-v2][doc] ls -l doc and size -> maj, min for device files Stephane Chazelas
2024-03-24 18:03 ` Pádraig Brady
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://lists.gnu.org/mailman/listinfo/bug-coreutils
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240324100611.pmspac3toqs2vim4@chazelas.org \
--to=stephane@chazelas.org \
--cc=69979@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).