? s-enum-types-c
? s-enum-types-h
Index: gnome-vfs-unix-mounts.c
===================================================================
RCS file: /cvs/gnome/gnome-vfs/libgnomevfs/gnome-vfs-unix-mounts.c,v
retrieving revision 1.10
diff -u -p -r1.10 gnome-vfs-unix-mounts.c
--- gnome-vfs-unix-mounts.c	20 Jul 2004 21:44:00 -0000	1.10
+++ gnome-vfs-unix-mounts.c	31 Jul 2004 16:34:39 -0000
@@ -228,6 +228,10 @@ _gnome_vfs_get_current_unix_mounts (GLis
 	}
 
 	while ((mntent = getmntent (file)) != NULL) {
+		/* /dev/root isn't useful and interferes with `mount --bind` */
+		if (strcmp (mntent->mnt_fsname, "/dev/root") == 0)
+			continue;
+
 		mount_entry = g_new0 (GnomeVFSUnixMount, 1);
 
 		mount_entry->mount_path = g_strdup (mntent->mnt_dir);
