From: Brent Petit Date: Tue, 9 Jan 2018 21:43:24 +0000 (+0000) Subject: stat,tail: add support for the EXFS file system X-Git-Tag: v8.30~51 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0753c3f6dc820562abf5b2653eff7cfc0c0d65c4;p=thirdparty%2Fcoreutils.git stat,tail: add support for the EXFS file system 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. --- diff --git a/NEWS b/NEWS index 5fa69285d7..e5569eb4e5 100644 --- 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] diff --git a/src/stat.c b/src/stat.c index c5da60260a..0a5ef3cb4f 100644 --- a/src/stat.c +++ b/src/stat.c @@ -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 */