diff options
author | Jim Meyering <jim@meyering.net> | 2005-02-15 08:57:59 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2005-02-15 08:57:59 +0000 |
commit | 9fea5777f349bdd9ac4ff5bf1b56adcfe18e60f2 (patch) | |
tree | d047f8729f708f48f6cd1ff24450691c90d4c5de /src | |
parent | df3411b4c3ed6af2a60142dde384213b4f0f4c37 (diff) | |
download | coreutils-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.c | 2 |
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 */ |