SVN: rc-scripts/trunk/rc.d/init.d/cpusets

baggins baggins at pld-linux.org
Thu Feb 10 12:04:03 CET 2011


Author: baggins
Date: Thu Feb 10 12:04:02 2011
New Revision: 12130

Modified:
   rc-scripts/trunk/rc.d/init.d/cpusets
Log:
- put cpuset/cgroup mounts in mtab


Modified: rc-scripts/trunk/rc.d/init.d/cpusets
==============================================================================
--- rc-scripts/trunk/rc.d/init.d/cpusets	(original)
+++ rc-scripts/trunk/rc.d/init.d/cpusets	Thu Feb 10 12:04:02 2011
@@ -40,11 +40,11 @@
 			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


More information about the pld-cvs-commit mailing list