summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-02-15 08:57:59 +0000
committerJim Meyering <jim@meyering.net>2005-02-15 08:57:59 +0000
commit9fea5777f349bdd9ac4ff5bf1b56adcfe18e60f2 (patch)
treed047f8729f708f48f6cd1ff24450691c90d4c5de /src
parentdf3411b4c3ed6af2a60142dde384213b4f0f4c37 (diff)
downloadcoreutils-9fea5777f349bdd9ac4ff5bf1b56adcfe18e60f2.tar.xz
(human_fstype): Add case/definition for S_MAGIC_XFS
so that file systems of type `xfs' are recognized as such.
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 3d302e7fd..82ad454a4 100644
--- a/src/stat.c
+++ b/src/stat.c
@@ -142,6 +142,8 @@ human_fstype (STRUCT_STATVFS const *statfsbuf)
return "ext2";
case S_MAGIC_EXT2: /* 0xEF53 */
return "ext2/ext3";
+ case S_MAGIC_XFS: /* 0x58465342 */
+ return "xfs";
case S_MAGIC_HPFS: /* 0xF995E849 */
return "hpfs";
case S_MAGIC_ISOFS: /* 0x9660 */