[gnome-disk-utility] add support for ext2
- From: David Zeuthen <davidz src gnome org>
- To: svn-commits-list gnome org
- Subject: [gnome-disk-utility] add support for ext2
- Date: Wed, 29 Apr 2009 13:37:53 -0400 (EDT)
commit d599d44a9a97c1f96afb1fe9ca1e742269b40331
Author: David Zeuthen <davidz redhat com>
Date: Wed Apr 29 13:35:39 2009 -0400
add support for ext2
---
src/gdu/gdu-util.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/src/gdu/gdu-util.c b/src/gdu/gdu-util.c
index 3542c21..f498327 100644
--- a/src/gdu/gdu-util.c
+++ b/src/gdu/gdu-util.c
@@ -191,9 +191,9 @@ gdu_util_get_fstype_for_display (const char *fstype, const char *fsversion, gboo
} else if (strcmp (fstype, "ext2") == 0) {
if (long_string) {
if (strlen (fsversion) > 0)
- s = g_strdup_printf (_("Linux Second Ext. FS (version %s)"), fsversion);
+ s = g_strdup_printf (_("Linux Ext2 (version %s)"), fsversion);
else
- s = g_strdup_printf (_("Linux Second Ext. FS"));
+ s = g_strdup_printf (_("Linux Ext2"));
} else {
s = g_strdup (_("ext2"));
}
@@ -446,6 +446,10 @@ gdu_util_fstype_get_description (char *fstype)
return g_strdup (_("A popular format compatible with almost any device or system, typically "
"used for file exchange."));
+ else if (strcmp (fstype, "ext2") == 0)
+ return g_strdup (_("This file system is compatible with Linux systems only and provides classic "
+ "UNIX file permissions support. This file system does not use a journal."));
+
else if (strcmp (fstype, "ext3") == 0 ||
strcmp (fstype, "ext4") == 0 ||
strcmp (fstype, "xfs") == 0)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]