Don't lie about ext4 filesystems
authorMatthias Clasen <mclasen@redhat.com>
Fri, 3 Apr 2009 04:23:54 +0000 (00:23 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 3 Apr 2009 04:23:54 +0000 (00:23 -0400)
When returning a filesystem type id, say "ext3/ext4" instead of "ext3",
since both use the same superblock magic, so we can't discriminate
them without more work.

gio/glocalfile.c

index 098f76e..efb8417 100644 (file)
@@ -662,7 +662,7 @@ get_fs_type (long f_type)
     case 0xEF51:
       return "ext2";
     case 0xEF53:
-      return "ext3";
+      return "ext3/ext4";
     case 0x4244:
       return "hfs";
     case 0xF995E849: