]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
- put cpuset/cgroup mounts in mtab
authorJan Rękorajski <baggins@pld-linux.org>
Thu, 10 Feb 2011 11:04:02 +0000 (11:04 +0000)
committerJan Rękorajski <baggins@pld-linux.org>
Thu, 10 Feb 2011 11:04:02 +0000 (11:04 +0000)
svn-id: @12130

rc.d/init.d/cpusets

index 5f6f43157363e184b36934748b273b4d97edbd78..ccefed28ed41f80da39ee5ba09274a4d970c1559 100755 (executable)
@@ -40,11 +40,11 @@ cpuset_mount() {
                        mkdir -p /dev/cgroup
                        modprobe -s blk-cgroup 2>/dev/null
                        # mount w/o options enables all available cgroup subsystems
-                       mount -n -t cgroup none /dev/cgroup
+                       mount -t cgroup none /dev/cgroup
                fi
        elif grep -q cpuset /proc/filesystems 2>/dev/null ; then
                if ! grep -q "^[^#].*cpuset" /etc/fstab 2>/dev/null ; then
-                       mount -n -t cpuset none /dev/cpuset
+                       mount -t cpuset none /dev/cpuset
                fi
        else
                nls "ERROR: CGROUP/CPUSET support not enabled in kernel" >&2
This page took 0.096693 seconds and 4 git commands to generate.