summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2016-05-12 09:50:48 +0100
committerPádraig Brady <P@draigBrady.com>2016-05-12 09:52:12 +0100
commit99dd47ec86b508410df64bef2b7bf4922215cf5b (patch)
treef08f9935afc34d79b791b3157d8c983abf05489e /src
parent9a4df07016827fe130016b1c3a4adaf91c54c301 (diff)
downloadcoreutils-99dd47ec86b508410df64bef2b7bf4922215cf5b.tar.xz
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
Diffstat (limited to 'src')
-rw-r--r--src/stat.c2
1 files changed, 2 insertions, 0 deletions
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 */