emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#71242: closed (PR: src/stat.c - add magic for bcachefs)


From: GNU bug Tracking System
Subject: bug#71242: closed (PR: src/stat.c - add magic for bcachefs)
Date: Tue, 28 May 2024 15:43:02 +0000

Your message dated Tue, 28 May 2024 16:40:44 +0100
with message-id <1a8fa554-bab5-4564-b620-0c69ec7a74f0@draigBrady.com>
and subject line Re: bug#71242: PR: src/stat.c - add magic for bcachefs
has caused the debbugs.gnu.org bug report #71242,
regarding PR: src/stat.c - add magic for bcachefs
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
71242: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=71242
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: PR: src/stat.c - add magic for bcachefs Date: Tue, 28 May 2024 12:08:41 +0100
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 */





--- End Message ---
--- Begin Message --- Subject: Re: bug#71242: PR: src/stat.c - add magic for bcachefs Date: Tue, 28 May 2024 16:40:44 +0100 User-agent: Mozilla Thunderbird Beta
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


--- End Message ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]