chiark / gitweb /
mount-setup: mount debugfs by default
authorLennart Poettering <lennart@poettering.net>
Wed, 7 Apr 2010 16:47:08 +0000 (18:47 +0200)
committerLennart Poettering <lennart@poettering.net>
Wed, 7 Apr 2010 16:47:08 +0000 (18:47 +0200)
mount-setup.c

index c6a4712..18d3911 100644 (file)
@@ -39,12 +39,13 @@ enum {
 };
 
 static const char *table[] = {
-        "proc",    "/proc",         "proc",     "rw",
-        "sysfs",   "/sys",          "sysfs",    "rw",
-        "devtmps", "/dev",          "devtmpfs", "mode=755",
-        "tmpfs",   "/dev/shm",      "tmpfs",    "mode=1777",
-        "devpts",  "/dev/pts",      "devpts",   "rw",
-        "cgroup",  "/cgroup/debug", "cgroup",   "debug",
+        "proc",    "/proc",             "proc",     NULL,
+        "sysfs",   "/sys",              "sysfs",    NULL,
+        "devtmps", "/dev",              "devtmpfs", "mode=755",
+        "tmpfs",   "/dev/shm",          "tmpfs",    "mode=1777",
+        "devpts",  "/dev/pts",          "devpts",   NULL,
+        "cgroup",  "/cgroup/debug",     "cgroup",   "debug",
+        "debugfs", "/sys/kernel/debug", "debugfs",  NULL,
         NULL
 };