]> err.no Git - systemd/commitdiff
mount-setup: set default modes when mounting
authorLennart Poettering <lennart@poettering.net>
Tue, 6 Apr 2010 19:55:39 +0000 (21:55 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 6 Apr 2010 19:55:39 +0000 (21:55 +0200)
mount-setup.c

index 5a2e89af7c8fa25f456094b090399b5a008f2eeb..12605ebb4d158c9614be932f1b660b778c732ebb 100644 (file)
@@ -39,12 +39,12 @@ enum {
 };
 
 static const char *table[] = {
-        "/proc",  "/proc",         "proc",     "rw",
-        "/sys",   "/sys",          "sysfs",    "rw",
-        "udev",   "/dev",          "devtmpfs", "rw",
-        "tmpfs",  "/dev/shm",      "tmpfs",    "rw",
-        "devpts", "/dev/pts",      "devpts",   "rw",
-        "cgroup", "/cgroup/debug", "cgroup",   "debug",
+        "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",
         NULL
 };