--- Begin Message ---
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
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#46613: [PATCH] stat: add support for the exfat file system |
Date: |
Thu, 18 Feb 2021 13:52:39 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:84.0) Gecko/20100101 Thunderbird/84.0 |
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
--- End Message ---