mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-19 03:33:43 +03:00
(human_fstype): Add case/definition for S_MAGIC_XFS
so that file systems of type `xfs' are recognized as such.
This commit is contained in:
1 parent
df3411b4c3
commit
9fea5777f3
1 file changed
+2
@@ -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 */
|
||||
|
||||
Reference in new issue
Block a user