]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
stat,tail: improve support for snfs
authorPádraig Brady <P@draigBrady.com>
Wed, 24 Apr 2013 21:59:46 +0000 (22:59 +0100)
committerPádraig Brady <P@draigBrady.com>
Sun, 28 Apr 2013 02:43:40 +0000 (03:43 +0100)
The StorNext distributed file system was previously known as CVFS.

* src/stat.c (human_fstype): Add new file system ID definition.
* NEWS: Mention the improvement.
Fixes http://bugs.gnu.org/14251

NEWS
src/stat.c

diff --git a/NEWS b/NEWS
index fc05b8a4096a737ab0ca99a56e22e6fe0c4ce8aa..3edb946af36aa742de72bf96d6df4346373b4c4d 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -32,7 +32,7 @@ GNU coreutils NEWS                                    -*- outline -*-
 
 ** Improvements
 
-  stat and tail work better with EFIVARFS, EXOFS, F2FS and UBIFS.
+  stat and tail work better with EFIVARFS, EXOFS, F2FS, SNFS and UBIFS.
   stat -f --format=%T now reports the file system type, and tail -f now uses
   inotify for files on those file systems, rather than the default (for unknown
   file system types) of issuing a warning and reverting to polling.
index 8ba958a02f07e18cd44032cefe73b437ec41cbc0..a1d558ce16703aa534378fb5366c914f4017bd43 100644 (file)
@@ -399,6 +399,8 @@ human_fstype (STRUCT_STATVFS const *statfsbuf)
       return "selinux";
     case S_MAGIC_SMB: /* 0x517B remote */
       return "smb";
+    case S_MAGIC_SNFS: /* 0xBEEFDEAD remote */
+      return "snfs";
     case S_MAGIC_SOCKFS: /* 0x534F434B local */
       return "sockfs";
     case S_MAGIC_SQUASHFS: /* 0x73717368 local */