From 9fea5777f349bdd9ac4ff5bf1b56adcfe18e60f2 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 15 Feb 2005 08:57:59 +0000 Subject: (human_fstype): Add case/definition for S_MAGIC_XFS so that file systems of type `xfs' are recognized as such. --- src/stat.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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 */ -- cgit v1.2.3-70-g09d2