summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2005-02-15 12:23:40 +0000
committerJim Meyering <jim@meyering.net>2005-02-15 12:23:40 +0000
commit3695d0212a7a89074e191258943e950a750ab07c (patch)
tree5d785c1ce73141a86b42e8f10dd11516b2025cd4
parentb353489b18afd7a1cca0544d191b6886cef25966 (diff)
downloadcoreutils-3695d0212a7a89074e191258943e950a750ab07c.tar.xz
(human_fstype): Add case/definition for S_MAGIC_JFS
so that file systems of type `jfs' are recognized as such.
-rw-r--r--src/stat.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/stat.c b/src/stat.c
index 82ad454a4..f9f145918 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_JFS: /* 0x3153464a */
+ return "jfs";
case S_MAGIC_XFS: /* 0x58465342 */
return "xfs";
case S_MAGIC_HPFS: /* 0xF995E849 */