diff options
author | William Hubbs <williamh@gentoo.org> | 2011-11-18 15:54:18 -0600 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2011-11-18 17:58:37 -0600 |
commit | 0510c473d4cd9097401e3a7bc236b0121977b81d (patch) | |
tree | 3f22567009d901eb34a13a6a48d0985b2f73b278 /init.d/sysfs.in | |
parent | 9a3d6c76009a58746d42d54c284058725131a854 (diff) |
CGroups: /sys/fs/cgroups should be a tmpfs
The kernel documentation states that a cgroup file system should not be
mounted here, but a tmpfs.
This also means that we should not create a group for each process, but
we should allow the user to specify which group a process should be
assigned to. The rc_cgroup variable will be used for this purpose.
For more information, see /usr/src/linux/Documentation/cgroups/cgroups.txt.
Diffstat (limited to 'init.d/sysfs.in')
-rw-r--r-- | init.d/sysfs.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init.d/sysfs.in b/init.d/sysfs.in index 257f3148..a536d5fd 100644 --- a/init.d/sysfs.in +++ b/init.d/sysfs.in @@ -65,7 +65,7 @@ mount_misc() if [ -d /sys/fs/cgroup ] && ! mountinfo -q /sys/fs/cgroup; then if grep -qs cgroup /proc/filesystems; then ebegin "Mounting cgroup filesystem" - mount -n -t cgroup -o nodev,noexec,nosuid \ + mount -n -t tmpfs -o nodev,noexec,nosuid \ cgroup /sys/fs/cgroup eend $? fi |