summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2009-12-22 12:21:45 +0000
committerPádraig Brady <P@draigBrady.com>2009-12-22 16:55:04 +0000
commit53db8d6479019474a14b8b858e83ace450195034 (patch)
treef3f1ca56304a097f6530e719b211c0dbe393cd0c /src
parent4b449caf2dad59fb05d4089f810036872f4b232f (diff)
downloadcoreutils-53db8d6479019474a14b8b858e83ace450195034.tar.xz
stat: Recognize k-afs, gfs, ocfs2 file system types
* src/stat.c (human_fstype): Add k-afs, gfs/gfs2 and ocfs2. * NEWS: Update the stat -f entry.
Diffstat (limited to 'src')
-rw-r--r--src/stat.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/stat.c b/src/stat.c
index 2fdaffe03..025d5f449 100644
--- a/src/stat.c
+++ b/src/stat.c
@@ -268,6 +268,8 @@ human_fstype (STRUCT_STATVFS const *statfsbuf)
return "fusectl";
case S_MAGIC_FUTEXFS: /* 0x0BAD1DEA */
return "futexfs";
+ case S_MAGIC_GFS: /* 0x1161970 */
+ return "gfs/gfs2";
case S_MAGIC_HFS: /* 0x4244 */
return "hfs";
case S_MAGIC_HPFS: /* 0xF995E849 */
@@ -288,6 +290,8 @@ human_fstype (STRUCT_STATVFS const *statfsbuf)
return "jffs2";
case S_MAGIC_JFS: /* 0x3153464A */
return "jfs";
+ case S_MAGIC_KAFS: /* 0x6B414653 */
+ return "k-afs";
case S_MAGIC_LUSTRE: /* 0x0BD00BD0 */
return "lustre";
case S_MAGIC_MINIX: /* 0x137F */
@@ -314,6 +318,8 @@ human_fstype (STRUCT_STATVFS const *statfsbuf)
return "ntfs";
case S_MAGIC_OPENPROM: /* 0x9FA1 */
return "openprom";
+ case S_MAGIC_OCFS2: /* 0x7461636f */
+ return "ocfs2";
case S_MAGIC_PROC: /* 0x9FA0 */
return "proc";
case S_MAGIC_QNX4: /* 0x002F */