rc-scripts/trunk/rc.d/rc.sysinit
baggins
cvs at pld-linux.org
Sun Aug 14 00:00:45 CEST 2005
Author: baggins
Date: Sun Aug 14 00:00:42 2005
New Revision: 6304
Modified:
rc-scripts/trunk/rc.d/rc.sysinit
Log:
- mount cpuset filesystem if kernel capable
Modified: rc-scripts/trunk/rc.d/rc.sysinit
==============================================================================
--- rc-scripts/trunk/rc.d/rc.sysinit (original)
+++ rc-scripts/trunk/rc.d/rc.sysinit Sun Aug 14 00:00:42 2005
@@ -147,6 +147,11 @@
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 @@
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
More information about the pld-cvs-commit
mailing list