projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0291966
)
stat: recognize "sockfs" file system type, ...
author
Jim Meyering
<meyering@redhat.com>
Sun, 13 Dec 2009 10:00:41 +0000
(11:00 +0100)
committer
Jim Meyering
<meyering@redhat.com>
Sun, 13 Dec 2009 10:00:41 +0000
(11:00 +0100)
... now that its magic number appears in <linux/magic.h>.
* src/stat.c (human_fstype) [S_MAGIC_SOCKFS]: Add case.
src/stat.c
patch
|
blob
|
history
diff --git
a/src/stat.c
b/src/stat.c
index
35f5d66
..
2d4a956
100644
(file)
--- 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 */