From: Jim Meyering Date: Sun, 13 Dec 2009 10:00:41 +0000 (+0100) Subject: stat: recognize "sockfs" file system type, ... X-Git-Tag: v8.3~53 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=207a978e6483a56302319c56f3b8266cada0510d;p=thirdparty%2Fcoreutils.git stat: recognize "sockfs" file system type, ... ... now that its magic number appears in . * src/stat.c (human_fstype) [S_MAGIC_SOCKFS]: Add case. --- diff --git a/src/stat.c b/src/stat.c index 35f5d66477..2d4a956a2b 100644 --- a/src/stat.c +++ b/src/stat.c @@ -327,6 +327,8 @@ human_fstype (STRUCT_STATVFS const *statfsbuf) return "selinux"; case S_MAGIC_SMB: /* 0x517B */ return "smb"; + case S_MAGIC_SOCKFS: /* 0x534F434B */ + return "sockfs"; case S_MAGIC_SQUASHFS: /* 0x73717368 */ return "squashfs"; case S_MAGIC_SYSFS: /* 0x62656572 */