coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] stat,tail: improve support for LogFS and ConfigFS


From: Pádraig Brady
Subject: [PATCH] stat,tail: improve support for LogFS and ConfigFS
Date: Fri, 23 May 2014 00:32:02 +0100

* src/stat.c (human_fstype): Add new file system ID definitions.
* NEWS: Mention the improvement.
---
 NEWS       |    6 +++---
 src/stat.c |    4 ++++
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/NEWS b/NEWS
index ced356c..9679b46 100644
--- 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]
diff --git a/src/stat.c b/src/stat.c
index 148ff49..6f42b61 100644
--- a/src/stat.c
+++ b/src/stat.c
@@ -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 */
-- 
1.7.7.6




reply via email to

[Prev in Thread] Current Thread [Next in Thread]