GNU bug report logs - #53209
stat shows wrong, non-existing device number

Previous Next

Package: coreutils;

Reported by: Joachim Wagner <jo2l <at> mqzmail.eu>

Date: Wed, 12 Jan 2022 15:58:01 UTC

Severity: normal

Tags: notabug

Done: Joachim Wagner <jo2l <at> mqzmail.eu>

Bug is archived. No further changes may be made.

Full log


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

From: Joachim Wagner <jo2l <at> mqzmail.eu>
To: bug-coreutils <at> gnu.org
Subject: Re: stat shows wrong, non-existing device number
Date: Wed, 12 Jan 2022 15:35:26 +0000
> Issue: The device number shown in `stat` output does not match the device
> numbers of any of the devices used by the filesystem.

Further reading suggests this a not a bug but a feature and only filesystems 
choose (major<<8)+minor of the primary device specified when mounting the 
filesystem.

I cloned git://git.sv.gnu.org/coreutils to add a sentence on this to stat's 
man page but coreutils/man/stat.x is only a template, missing what I see in 
`man stat` on my system. Trying to find out how to contribute to 
documentation, I encountered the following cycle with no answer:

https://www.gnu.org/help/
https://www.gnu.org/philosophy/free-doc.html
https://www.gnu.org/doc/doc.html
https://www.gnu.org/help/help.html#helpgnu

Joachim






This bug report was last modified 3 years and 130 days ago.

Previous Next


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