diff options
-rw-r--r-- | NEWS | 7 | ||||
-rw-r--r-- | src/stat.c | 2 |
2 files changed, 6 insertions, 3 deletions
@@ -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] diff --git a/src/stat.c b/src/stat.c index 7a20ff782..8c831b5be 100644 --- a/src/stat.c +++ b/src/stat.c @@ -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 */ |