]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
- mount cpuset filesystem if kernel capable
authorJan Rękorajski <baggins@pld-linux.org>
Sat, 13 Aug 2005 22:00:42 +0000 (22:00 +0000)
committerJan Rękorajski <baggins@pld-linux.org>
Sat, 13 Aug 2005 22:00:42 +0000 (22:00 +0000)
svn-id: @6304

rc.d/rc.sysinit

index 0d2c4c7cc10fce82d68584078fc2867fe5f92663..b9d3e9dff4ecdb36c6c736705298f5fd31a442aa 100755 (executable)
@@ -147,6 +147,11 @@ if [ -e /dev/.devfsd -a -x /sbin/devfsd ]; then
         run_cmd "Starting Device Filesystem Daemon" /sbin/devfsd /dev
 fi
 
+# cpuset support (mounted unconditionally, shouldn't be a problem)
+if grep -q cpuset /proc/filesystems ; then
+    mount -n -t cpuset none /dev/cpuset
+fi
+
 # Configure Linux kernel (initial configuration, some required modules still
 # may be missing).
 /sbin/sysctl -e -p /etc/sysctl.conf > /dev/null 2>&1
@@ -387,6 +392,10 @@ if grep -q selinuxfs /proc/filesystems ; then
        mount -f -t selinuxfs selinuxfs /selinux
 fi
 
+if grep -q cpuset /proc/filesystems ; then
+    mount -n -t cpuset none /dev/cpuset
+fi
+
 # Remove /etc/nologin when starting system
 [ -f /etc/nologin.boot ] && rm -f /etc/nologin /etc/nologin.boot
 
This page took 0.200984 seconds and 4 git commands to generate.