From: Lennart Poettering Date: Wed, 2 Jun 2010 19:05:05 +0000 (+0200) Subject: mounts: make /cgroup a tmpfs file system X-Git-Tag: 0.git+20100605+dfd8ee-1~9^2^2~23 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=122c1c819803fe742d9dac8088ac717469f3240c;p=systemd mounts: make /cgroup a tmpfs file system --- diff --git a/src/mount-setup.c b/src/mount-setup.c index 889cf67e..333107d0 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 }, };