mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-22 15:19:16 +02:00
Don't lie about ext4 filesystems
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.
This commit is contained in:
parent
e8a42bb81c
commit
25ff8ee748
@ -662,7 +662,7 @@ get_fs_type (long f_type)
|
|||||||
case 0xEF51:
|
case 0xEF51:
|
||||||
return "ext2";
|
return "ext2";
|
||||||
case 0xEF53:
|
case 0xEF53:
|
||||||
return "ext3";
|
return "ext3/ext4";
|
||||||
case 0x4244:
|
case 0x4244:
|
||||||
return "hfs";
|
return "hfs";
|
||||||
case 0xF995E849:
|
case 0xF995E849:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user