From: Jim Meyering Date: Tue, 15 Feb 2005 08:57:59 +0000 (+0000) Subject: (human_fstype): Add case/definition for S_MAGIC_XFS X-Git-Tag: CPPI-1_12~1463 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9fea5777f349bdd9ac4ff5bf1b56adcfe18e60f2;p=thirdparty%2Fcoreutils.git (human_fstype): Add case/definition for S_MAGIC_XFS so that file systems of type `xfs' are recognized as such. --- 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 */