summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-06-02 21:05:05 +0200
committerLennart Poettering <lennart@poettering.net>2010-06-02 21:05:23 +0200
commit122c1c819803fe742d9dac8088ac717469f3240c (patch)
treee4d1e9b80037b025a381ae94a2f73eddf0571623 /src
parent1f48cf56cb2693b84fdc76dc8df0b048ed50ef43 (diff)
mounts: make /cgroup a tmpfs file system
Diffstat (limited to 'src')
-rw-r--r--src/mount-setup.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mount-setup.c b/src/mount-setup.c
index 889cf67..333107d 100644
--- a/src/mount-setup.c
+++ b/src/mount-setup.c
@@ -44,9 +44,10 @@ typedef struct MountPoint {
static const MountPoint mount_table[] = {
{ "proc", "/proc", "proc", NULL, MS_NOSUID|MS_NOEXEC|MS_NODEV, true },
{ "sysfs", "/sys", "sysfs", NULL, MS_NOSUID|MS_NOEXEC|MS_NODEV, true },
- { "devtmps", "/dev", "devtmpfs", "mode=755", MS_NOSUID, true },
+ { "devtmpfs", "/dev", "devtmpfs", "mode=755", MS_NOSUID, true },
{ "tmpfs", "/dev/shm", "tmpfs", "mode=1777", MS_NOSUID|MS_NOEXEC|MS_NODEV, true },
{ "devpts", "/dev/pts", "devpts", NULL, MS_NOSUID|MS_NOEXEC|MS_NODEV, false },
+ { "tmpfs", "/cgroup", "tmpfs", "mode=755", MS_NOSUID|MS_NOEXEC|MS_NODEV, true },
{ "cgroup", "/cgroup/systemd", "cgroup", "none,name=systemd", MS_NOSUID|MS_NOEXEC|MS_NODEV, true },
};