[PATCH] Support more filesystems in gnome-vfs-filesystem-type.c.

Julian Andres Klode jak at debian.org
Thu Jul 30 17:58:41 UTC 2009


This patch introduces support for the filesystems btrfs,
ecryptfs, ext4, ext4dev, ntfs-3g and nilfs2.

Signed-off-by: Julian Andres Klode <jak at debian.org>
---
 libgnomevfs/gnome-vfs-filesystem-type.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/libgnomevfs/gnome-vfs-filesystem-type.c b/libgnomevfs/gnome-vfs-filesystem-type.c
index ec744e3..3c3b634 100644
--- a/libgnomevfs/gnome-vfs-filesystem-type.c
+++ b/libgnomevfs/gnome-vfs-filesystem-type.c
@@ -39,14 +39,18 @@ static struct FSInfo fs_data[] = {
 	{ "affs"     , N_("AFFS Volume"), 0},
 	{ "afs"      , N_("AFS Network Volume"), 0 },
 	{ "auto"     , N_("Auto-detected Volume"), 0 },
+	{ "btrfs"    , N_("Btrfs Linux Volume"), 1 },
 	{ "cd9660"   , N_("CD-ROM Drive"), 0 },
 	{ "cdda"     , N_("CD Digital Audio"), 0 },
 	{ "cdrom"    , N_("CD-ROM Drive"), 0 },
 	{ "devfs"    , N_("Hardware Device Volume"), 0 },
 	{ "encfs"    , N_("EncFS Volume"), 1 },
+	{ "ecryptfs" , N_("eCryptfs Volume"), 1},
 	{ "ext2"     , N_("Ext2 Linux Volume"), 1 },
 	{ "ext2fs"   , N_("Ext2 Linux Volume"), 1 },
 	{ "ext3"     , N_("Ext3 Linux Volume"), 1 },
+	{ "ext4"     , N_("Ext4 Linux Volume"), 1 },
+	{ "ext4dev"  , N_("Ext4 Linux Volume"), 1 },
 	{ "fat"      , N_("MSDOS Volume"), 1 },
 	{ "ffs"      , N_("BSD Volume"), 1 },
 	{ "fuse"     , N_("FUSE Volume"), 1 },
@@ -65,6 +69,8 @@ static struct FSInfo fs_data[] = {
 	{ "msdosfs"  , N_("MSDOS Volume"), 0 },
 	{ "nfs"      , N_("NFS Network Volume"), 1 },
 	{ "ntfs"     , N_("Windows NT Volume"), 0 },
+	{ "ntfs-3g"  , N_("Windows NT Volume"), 1 },
+	{ "nilfs2"   , N_("NILFS Linux Volume"), 1 },
 	{ "nwfs"     , N_("Netware Volume"), 0 },
 	{ "proc"     , N_("System Volume"), 0 },
 	{ "procfs"   , N_("System Volume"), 0 },
-- 
1.6.3.3








More information about the pkg-gnome-maintainers mailing list