]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(human_fstype): Add case/definition for S_MAGIC_JFS
authorJim Meyering <jim@meyering.net>
Tue, 15 Feb 2005 12:23:40 +0000 (12:23 +0000)
committerJim Meyering <jim@meyering.net>
Tue, 15 Feb 2005 12:23:40 +0000 (12:23 +0000)
so that file systems of type `jfs' are recognized as such.

src/stat.c

index 82ad454a495071a902f72137ab3583cefa187ca7..f9f145918900f03353b870a0d7fae95e98a685f6 100644 (file)
@@ -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 */