Add some blacklisted mount directories
authorRyan Lortie <desrt@desrt.ca>
Wed, 20 Jul 2011 08:52:07 +0000 (10:52 +0200)
committerRyan Lortie <desrt@desrt.ca>
Wed, 20 Jul 2011 08:52:07 +0000 (10:52 +0200)
Another long-carried Debian patch.  No reason that we should not have
these few extra items in the (already long) upstream list.

gio/gunixmounts.c

index acbffb4..3ab20fa 100644 (file)
@@ -243,6 +243,8 @@ g_unix_is_mount_path_system_internal (const char *mount_path)
     "/home",
     "/lib",
     "/lib64",
+    "/live/cow",
+    "/live/image",
     "/media",
     "/mnt",
     "/opt",
@@ -253,7 +255,12 @@ g_unix_is_mount_path_system_internal (const char *mount_path)
     "/usr",
     "/usr/local",
     "/var",
+    "/var/crash",
+    "/var/local",
+    "/var/log",
     "/var/log/audit", /* https://bugzilla.redhat.com/show_bug.cgi?id=333041 */
+    "/var/mail",
+    "/var/run",
     "/var/tmp",       /* https://bugzilla.redhat.com/show_bug.cgi?id=335241 */
     "/proc",
     "/sbin",