GNU bug report logs -
#71242
PR: src/stat.c - add magic for bcachefs
Previous Next
Reported by: Paul Hedderly <paul <at> mjr.org>
Date: Tue, 28 May 2024 14:36:02 UTC
Severity: normal
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 71242 in the body.
You can then email your comments to 71242 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-coreutils <at> gnu.org
:
bug#71242
; Package
coreutils
.
(Tue, 28 May 2024 14:36:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Paul Hedderly <paul <at> mjr.org>
:
New bug report received and forwarded. Copy sent to
bug-coreutils <at> gnu.org
.
(Tue, 28 May 2024 14:36:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
Currently stat does not know bcachefs
$:~/gits/coreutils$ sudo stat -f -c %T /
UNKNOWN (0xca451a4e)
But it just needs to know that magic
$:~/gits/coreutils$ sudo ./src/stat -f -c %T /
bcachefs
Please pull this small commit:
https://github.com/coreutils/coreutils/commit/6da16c99ff0c6ec35943dd2db5f51c25efb8b508
diff --git a/src/stat.c b/src/stat.c
index 91795471f..875107af4 100644
--- a/src/stat.c
+++ b/src/stat.c
@@ -307,6 +307,8 @@ human_fstype (STRUCT_STATVFS const *statfsbuf)
return "bdevfs";
case S_MAGIC_BFS: /* 0x1BADFACE local */
return "bfs";
+ case S_MAGIC_BCACHEFSS: /* 0xca451a4e local */
+ return "bcachefs";
case S_MAGIC_BINDERFS: /* 0x6C6F6F70 local */
return "binderfs";
case S_MAGIC_BPF_FS: /* 0xCAFE4A11 local */
Reply sent
to
Pádraig Brady <P <at> draigBrady.com>
:
You have taken responsibility.
(Tue, 28 May 2024 15:43:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Paul Hedderly <paul <at> mjr.org>
:
bug acknowledged by developer.
(Tue, 28 May 2024 15:43:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 71242-done <at> debbugs.gnu.org (full text, mbox):
On 28/05/2024 12:08, Paul Hedderly via GNU coreutils Bug Reports wrote:
> Currently stat does not know bcachefs
>
> $:~/gits/coreutils$ sudo stat -f -c %T /
> UNKNOWN (0xca451a4e)
>
> But it just needs to know that magic
>
> $:~/gits/coreutils$ sudo ./src/stat -f -c %T /
> bcachefs
>
>
> Please pull this small commit:
>
> https://github.com/coreutils/coreutils/commit/6da16c99ff0c6ec35943dd2db5f51c25efb8b508
I pushed the following before receiving this bug report:
https://github.com/coreutils/coreutils/commit/3ce31e6f1
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
.
(Wed, 26 Jun 2024 11:24:08 GMT)
Full text and
rfc822 format available.
This bug report was last modified 1 year and 51 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.