stat,tail: add support for the SMB2 remote file system

* 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
This commit is contained in:
Pádraig Brady committed 2016-05-12 09:52:12 +01:00
1 parent 9a4df07016
commit 99dd47ec86
2 files changed
+6 -3

No files matched your search

+4 -3
View File
@@ -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]
+2
View 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 */