GNU bug report logs - #46613
[PATCH] stat: add support for the exfat file system

Previous Next

Package: coreutils;

Reported by: Kamil Dudka <kdudka <at> redhat.com>

Date: Thu, 18 Feb 2021 10:20:02 UTC

Severity: normal

Tags: patch

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 46613 in the body.
You can then email your comments to 46613 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#46613; Package coreutils. (Thu, 18 Feb 2021 10:20:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Kamil Dudka <kdudka <at> redhat.com>:
New bug report received and forwarded. Copy sent to bug-coreutils <at> gnu.org. (Thu, 18 Feb 2021 10:20:02 GMT) Full text and rfc822 format available.

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

From: Kamil Dudka <kdudka <at> redhat.com>
To: bug-coreutils <at> gnu.org
Subject: [PATCH] stat: add support for the exfat file system
Date: Thu, 18 Feb 2021 11:18:04 +0100
* src/stat.c (human_fstype): Add case for the 'exfat' file system type.
* NEWS: Mention the Improvement.

Bug: https://bugzilla.redhat.com/1921427
---
 NEWS       | 2 +-
 src/stat.c | 2 ++
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/NEWS b/NEWS
index 79bb25e860..08a58d56a6 100644
--- a/NEWS
+++ b/NEWS
@@ -75,7 +75,7 @@ GNU coreutils NEWS                                    -*- outline -*-
   df now recognizes these file systems as remote:
   acfs, coda, fhgfs, gpfs, ibrix, ocfs2, and vxfs.
 
-  stat and tail now know about the "devmem", "vboxsf", and "zonefs"
+  stat and tail now know about the "devmem", "exfat", "vboxsf", and "zonefs"
   file system types.  stat -f -c%T now reports the file system type,
   and tail -f uses polling for "vboxsf" and inotify for the others.
 
diff --git a/src/stat.c b/src/stat.c
index 9baa36392a..7bd1044cb4 100644
--- a/src/stat.c
+++ b/src/stat.c
@@ -361,6 +361,8 @@ human_fstype (STRUCT_STATVFS const *statfsbuf)
       return "efs";
     case S_MAGIC_EROFS_V1: /* 0xE0F5E1E2 local */
       return "erofs";
+    case S_MAGIC_EXFAT: /* 0x2011BAB0 local */
+      return "exfat";
     case S_MAGIC_EXFS: /* 0x45584653 local */
       return "exfs";
     case S_MAGIC_EXOFS: /* 0x5DF5 local */
-- 
2.26.2





Reply sent to Pádraig Brady <P <at> draigBrady.com>:
You have taken responsibility. (Thu, 18 Feb 2021 13:53:02 GMT) Full text and rfc822 format available.

Notification sent to Kamil Dudka <kdudka <at> redhat.com>:
bug acknowledged by developer. (Thu, 18 Feb 2021 13:53:02 GMT) Full text and rfc822 format available.

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

From: Pádraig Brady <P <at> draigBrady.com>
To: Kamil Dudka <kdudka <at> redhat.com>, 46613-done <at> debbugs.gnu.org
Subject: Re: bug#46613: [PATCH] stat: add support for the exfat file system
Date: Thu, 18 Feb 2021 13:52:39 +0000
On 18/02/2021 10:18, Kamil Dudka wrote:
> * src/stat.c (human_fstype): Add case for the 'exfat' file system type.
> * NEWS: Mention the Improvement.
> 
> Bug: https://bugzilla.redhat.com/1921427

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. (Fri, 19 Mar 2021 11:24:05 GMT) Full text and rfc822 format available.

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

Previous Next


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