]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
stat,tail: improve support for LogFS and ConfigFS
authorPádraig Brady <P@draigBrady.com>
Thu, 22 May 2014 23:20:43 +0000 (00:20 +0100)
committerPádraig Brady <P@draigBrady.com>
Thu, 22 May 2014 23:20:43 +0000 (00:20 +0100)
* src/stat.c (human_fstype): Add new file system ID definitions.
* NEWS: Mention the improvement.

NEWS
src/stat.c

diff --git a/NEWS b/NEWS
index ced356c8e913418995171e66d04bcbc9507bfae3..9679b468431f483faaf1a6b4a3ef64fdfce431e2 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -110,9 +110,9 @@ GNU coreutils NEWS                                    -*- outline -*-
   split avoids unnecessary input buffering, immediately writing input to output
   which is significant with --filter or when writing to fifos or stdout etc.
 
-  stat and tail work better with HFS+ and HFSX.  stat -f --format=%T now reports
-  the file system type, and tail -f now uses inotify for files, rather than the
-  default of issuing a warning and reverting to polling.
+  stat and tail work better with HFS+, HFSX, LogFS and ConfigFS.  stat -f
+  --format=%T now reports the file system type, and tail -f now uses inotify,
+  rather than the default of issuing a warning and reverting to polling.
 
 
 * Noteworthy changes in release 8.22 (2013-12-13) [stable]
index 148ff49cc492034de50349ab981394d272993d40..6f42b61bd33ea0de77533b54966c17d363203a1d 100644 (file)
@@ -280,6 +280,8 @@ human_fstype (STRUCT_STATVFS const *statfsbuf)
       return "coda";
     case S_MAGIC_COH: /* 0x012FF7B7 local */
       return "coh";
+    case S_MAGIC_CONFIGFS: /* 0x62656570 local */
+      return "configfs";
     case S_MAGIC_CRAMFS: /* 0x28CD3D45 local */
       return "cramfs";
     case S_MAGIC_CRAMFS_WEND: /* 0x453DCD28 local */
@@ -350,6 +352,8 @@ human_fstype (STRUCT_STATVFS const *statfsbuf)
       return "jfs";
     case S_MAGIC_KAFS: /* 0x6B414653 remote */
       return "k-afs";
+    case S_MAGIC_LOGFS: /* 0xC97E8168 local */
+      return "logfs";
     case S_MAGIC_LUSTRE: /* 0x0BD00BD0 remote */
       return "lustre";
     case S_MAGIC_MINIX: /* 0x137F local */