]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
- commit at rev 10523 was completely bogus, preventing mounting cpuset at all,
authorJan Rękorajski <baggins@pld-linux.org>
Sat, 6 Nov 2010 00:07:07 +0000 (00:07 +0000)
committerJan Rękorajski <baggins@pld-linux.org>
Sat, 6 Nov 2010 00:07:07 +0000 (00:07 +0000)
  as default fstab contains cpuset line with noauto option

svn-id: @11885

rc.d/rc.sysinit

index 674921dc410a2a849a9de73569f2ff73f0d1fdef..95a2db53ba6b13f9b383f47cd51a654a1abd8055 100755 (executable)
@@ -270,16 +270,12 @@ if ! is_yes "$VSERVER"; then
                /sbin/blogd
        fi
 
-       # cpuset support (mount if not found in fstab - should be ^# excluded?)
+       # cpuset support
        if grep -q cgroup /proc/filesystems 2>/dev/null ; then
-               if ! grep -q cgroup /etc/fstab 2>/dev/null ; then
-                       mount -n -t cgroup none /dev/cpuset -o cpuset,noprefix
-                       [ $? -eq 0 ] && echo "/sbin/cpuset_release_agent" > /dev/cpuset/release_agent
-               fi
+               mount -n -t cgroup none /dev/cpuset -o cpuset,noprefix
+               [ $? -eq 0 ] && echo "/sbin/cpuset_release_agent" > /dev/cpuset/release_agent
        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
-               fi
+               mount -n -t cpuset none /dev/cpuset
        fi
 
        # Configure Linux kernel (initial configuration, some required modules still
This page took 0.267773 seconds and 4 git commands to generate.