gio: extend the system_internal lists with BSD paths
authorAntoine Jacoutot <ajacoutot@gnome.org>
Tue, 21 Jan 2014 16:25:35 +0000 (17:25 +0100)
committerAntoine Jacoutot <ajacoutot@gnome.org>
Sun, 2 Feb 2014 09:08:05 +0000 (10:08 +0100)
gio/gunixmounts.c

index e0f39cf..dad997a 100644 (file)
@@ -238,22 +238,31 @@ g_unix_is_mount_path_system_internal (const char *mount_path)
     "/",              /* we already have "Filesystem root" in Nautilus */ 
     "/bin",
     "/boot",
+    "/compat/linux/proc",
+    "/compat/linux/sys",
     "/dev",
     "/etc",
     "/home",
     "/lib",
     "/lib64",
+    "/libexec",
     "/live/cow",
     "/live/image",
     "/media",
     "/mnt",
     "/opt",
+    "/rescue",
     "/root",
     "/sbin",
     "/srv",
     "/tmp",
     "/usr",
+    "/usr/X11R6",
     "/usr/local",
+    "/usr/obj",
+    "/usr/ports",
+    "/usr/src",
+    "/usr/xobj",
     "/var",
     "/var/crash",
     "/var/local",
@@ -294,8 +303,11 @@ guess_system_internal (const char *mountpoint,
     "devfs",
     "devpts",
     "ecryptfs",
+    "fdescfs",
     "kernfs",
     "linprocfs",
+    "mfs",
+    "nullfs",
     "proc",
     "procfs",
     "ptyfs",