6b50cb9
From b87f944c87ffe04db6e5476b007a8e4979de933d Mon Sep 17 00:00:00 2001
6b50cb9
From: Kamil Dudka <kdudka@redhat.com>
6b50cb9
Date: Thu, 18 Feb 2021 11:18:04 +0100
6b50cb9
Subject: [PATCH] stat,tail: add support for the exfat file system
6b50cb9
6b50cb9
Bug: https://bugzilla.redhat.com/1921427
6b50cb9
6b50cb9
* src/stat.c (human_fstype): Add case for the 'exfat' file system type.
6b50cb9
Fixes https://bugs.gnu.org/46613
6b50cb9
6b50cb9
Upstream-commit: a5e0d8f387e81e854427addbbaf2504541bbf4b9
6b50cb9
Signed-off-by: Kamil Dudka <kdudka@redhat.com>
6b50cb9
---
6b50cb9
 src/stat.c | 2 ++
6b50cb9
 1 file changed, 2 insertions(+)
6b50cb9
6b50cb9
diff --git a/src/stat.c b/src/stat.c
6b50cb9
index 8cd69da..4e1c8e3 100644
6b50cb9
--- a/src/stat.c
6b50cb9
+++ b/src/stat.c
6b50cb9
@@ -361,6 +361,8 @@ human_fstype (STRUCT_STATVFS const *statfsbuf)
6b50cb9
       return "efs";
6b50cb9
     case S_MAGIC_EROFS_V1: /* 0xE0F5E1E2 local */
6b50cb9
       return "erofs";
6b50cb9
+    case S_MAGIC_EXFAT: /* 0x2011BAB0 local */
6b50cb9
+      return "exfat";
6b50cb9
     case S_MAGIC_EXFS: /* 0x45584653 local */
6b50cb9
       return "exfs";
6b50cb9
     case S_MAGIC_EXOFS: /* 0x5DF5 local */
6b50cb9
-- 
6b50cb9
2.26.2
6b50cb9