diff options
-rw-r--r-- | init.d/sysfs.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/init.d/sysfs.in b/init.d/sysfs.in index 8809bda2..ac6934a4 100644 --- a/init.d/sysfs.in +++ b/init.d/sysfs.in @@ -65,8 +65,8 @@ 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 tmpfs -o nodev,noexec,nosuid,mode=755 \ - cgroup_root /sys/fs/cgroup + local opts="nodev,noexec,nosuid,mode=755,size=${rc_cgroupsize:-10m}" + mount -n -t tmpfs -o ${opts} cgroup_root /sys/fs/cgroup eend $? fi fi |