From 9fea5777f349bdd9ac4ff5bf1b56adcfe18e60f2 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Tue, 15 Feb 2005 08:57:59 +0000 Subject: [PATCH] (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(+) diff --git a/src/stat.c b/src/stat.c index 3d302e7fd9..82ad454a49 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 */ -- 2.47.3