GNU bug report logs - #69979
[PATCH][doc] ls -l doc and size -> maj, min for device files

Previous Next

Package: coreutils;

Reported by: Stephane Chazelas <stephane <at> chazelas.org>

Date: Sun, 24 Mar 2024 12:10:02 UTC

Severity: normal

Tags: patch

Found in version 9.4

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 69979 in the body.
You can then email your comments to 69979 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-coreutils <at> gnu.org:
bug#69979; Package coreutils. (Sun, 24 Mar 2024 12:10:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Stephane Chazelas <stephane <at> chazelas.org>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Sun, 24 Mar 2024 12:10:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Stephane Chazelas <stephane <at> chazelas.org>
To: submit <at> debbugs.gnu.org
Subject: [PATCH][doc] ls -l doc and size -> maj, min for device files
Date: Sun, 24 Mar 2024 10:06:11 +0000
[Message part 1 (text/plain, inline)]
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
[doc-ls-maj-min-for-devices.diff (text/x-diff, attachment)]

Information forwarded to bug-coreutils <at> gnu.org:
bug#69979; Package coreutils. (Sun, 24 Mar 2024 12:56:01 GMT) Full text and rfc822 format available.

Message #8 received at 69979 <at> debbugs.gnu.org (full text, mbox):

From: Stephane Chazelas <stephane <at> chazelas.org>
To: 69979 <at> debbugs.gnu.org
Subject: [PATCH-v2][doc] ls -l doc and size -> maj, min for device files
Date: Sun, 24 Mar 2024 12:40:08 +0000
[Message part 1 (text/plain, inline)]
Tags: patch

My bad, the patch was incorrect, it should have said
"replaced by the corresponding device major and minor numbers as two decimal
numbers separated by a comma and at least one space.", as
there's not always only once space between the major and minor.

See also
https://unix.stackexchange.com/questions/773014/where-do-i-find-documentation-for-the-output-of-ls-l
where the issue was reported and where the variations of output
formats between ls implementations is being mentioned.

New patch attached.
[doc-ls-maj-min-for-devices-v2.diff (text/x-diff, attachment)]

Reply sent to Pádraig Brady <P <at> draigBrady.com>:
You have taken responsibility. (Sun, 24 Mar 2024 18:06:02 GMT) Full text and rfc822 format available.

Notification sent to Stephane Chazelas <stephane <at> chazelas.org>:
bug acknowledged by developer. (Sun, 24 Mar 2024 18:06:02 GMT) Full text and rfc822 format available.

Message #13 received at 69979-done <at> debbugs.gnu.org (full text, mbox):

From: Pádraig Brady <P <at> draigBrady.com>
To: Stephane Chazelas <stephane <at> chazelas.org>, 69979-done <at> debbugs.gnu.org
Subject: Re: bug#69979: [PATCH-v2][doc] ls -l doc and size -> maj, min for
 device files
Date: Sun, 24 Mar 2024 18:03:12 +0000
On 24/03/2024 12:40, Stephane Chazelas wrote:
> Tags: patch
> 
> My bad, the patch was incorrect, it should have said
> "replaced by the corresponding device major and minor numbers as two decimal
> numbers separated by a comma and at least one space.", as
> there's not always only once space between the major and minor.
> 
> See also
> https://unix.stackexchange.com/questions/773014/where-do-i-find-documentation-for-the-output-of-ls-l
> where the issue was reported and where the variations of output
> formats between ls implementations is being mentioned.
> 
> New patch attached.

Pushed.
Marking this as done.

thanks,
Pádraig




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 22 Apr 2024 11:24:14 GMT) Full text and rfc822 format available.

This bug report was last modified 10 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.