]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
stat,tail: add support for the SMB2 remote file system
authorPádraig Brady <P@draigBrady.com>
Thu, 12 May 2016 08:50:48 +0000 (09:50 +0100)
committerPádraig Brady <P@draigBrady.com>
Thu, 12 May 2016 08:52:12 +0000 (09:52 +0100)
* stc/stat.c (human_fstype): Add file system ID definition,
and use "smb2" as the name.
* NEWS (Improvements): Mention the change.
Fixes http://bugs.gnu.org/23516

NEWS
src/stat.c

diff --git a/NEWS b/NEWS
index 6018aa91be25615c6d83917b7f6b820cdad6ecce..56ab1f13a9581dfb069c910cb17cada395b17dbf 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -34,9 +34,10 @@ GNU coreutils NEWS                                    -*- outline -*-
 ** Improvements
 
    stat and tail now know about "prl_fs" (a parallels file system),
-   "m1fs" (a Plexistor file system), and "wslfs" (Windows Subsystem for Linux).
-   stat -f --format=%T now reports the file system type, and tail -f uses
-   polling for "prl_fs", inotify for "m1fs", and attempts inotify for "wslfs".
+   "m1fs" (a Plexistor file system), "wslfs" (Windows Subsystem for Linux),
+   and "smb2".  stat -f --format=%T now reports the file system type, and
+   tail -f uses polling for "prl_fs" and "smb2", inotify for "m1fs",
+   and attempts inotify for "wslfs".
 
 
 * Noteworthy changes in release 8.25 (2016-01-20) [stable]
index 7a20ff782d69a972af3fdea12edb88735007d400..8c831b5beb08b2d7a156643d4d42840ecc8c6636 100644 (file)
@@ -434,6 +434,8 @@ human_fstype (STRUCT_STATVFS const *statfsbuf)
       return "smackfs";
     case S_MAGIC_SMB: /* 0x517B remote */
       return "smb";
+    case S_MAGIC_SMB2: /* 0xFE534D42 remote */
+      return "smb2";
     case S_MAGIC_SNFS: /* 0xBEEFDEAD remote */
       return "snfs";
     case S_MAGIC_SOCKFS: /* 0x534F434B local */