]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
stat,tail: add support for the EXFS file system
authorBrent Petit <brent.petit@hpe.com>
Tue, 9 Jan 2018 21:43:24 +0000 (21:43 +0000)
committerPádraig Brady <P@draigBrady.com>
Wed, 14 Mar 2018 16:15:59 +0000 (09:15 -0700)
Enhanced XFS (EXFS) is a version of XFS maintained by HPE.
EXFS uses a unique magic number to allow the use of community
XFS, and EXFS filesystems at the same time.

* src/stat.c (human_fstype): Add file system ID definition,
and use "exfs" as the name.
* NEWS: Mention the Improvement.

NEWS
src/stat.c

diff --git a/NEWS b/NEWS
index 5fa69285d7eb440a1b74a030b02654b71ec44167..e5569eb4e5d0103e660eba2761f6f69f23fcfee2 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -21,6 +21,12 @@ GNU coreutils NEWS                                    -*- outline -*-
   Previously it would have set executable bits on created special files.
   [bug introduced with coreutils-8.20]
 
+** Improvements
+
+  stat and tail now know about the "exfs" file system, which is a
+  version of XFS.  stat -f --format=%T now reports the file system type,
+  and tail -f uses inotify.
+
 
 * Noteworthy changes in release 8.29 (2017-12-27) [stable]
 
index c5da60260a5d9fa9054fa92f3e86ff454b0b2a6d..0a5ef3cb4f28a4ed21924ffc2a22d25ac21b5934 100644 (file)
@@ -324,6 +324,8 @@ human_fstype (STRUCT_STATVFS const *statfsbuf)
       return "efivarfs";
     case S_MAGIC_EFS: /* 0x00414A53 local */
       return "efs";
+    case S_MAGIC_EXFS: /* 0x45584653 local */
+      return "exfs";
     case S_MAGIC_EXOFS: /* 0x5DF5 local */
       return "exofs";
     case S_MAGIC_EXT: /* 0x137D local */