[glib] Don't lie about ext4 filesystems
- From: Matthias Clasen <matthiasc src gnome org>
- To: svn-commits-list gnome org
- Subject: [glib] Don't lie about ext4 filesystems
- Date: Fri, 3 Apr 2009 00:27:40 -0400 (EDT)
commit 25ff8ee7486c7bdf1612d3554fc1d7d91daedfa6
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Apr 3 00:23:54 2009 -0400
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.
---
gio/glocalfile.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/gio/glocalfile.c b/gio/glocalfile.c
index 098f76e..efb8417 100644
--- a/gio/glocalfile.c
+++ b/gio/glocalfile.c
@@ -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:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]