SVN: rc-scripts/trunk/rc.d/rc.sysinit

baggins baggins at pld-linux.org
Sun Feb 19 19:11:40 CET 2012


Author: baggins
Date: Sun Feb 19 19:11:39 2012
New Revision: 12477

Modified:
   rc-scripts/trunk/rc.d/rc.sysinit
Log:
- devtmpfs is madatory for udev >= 176


Modified: rc-scripts/trunk/rc.d/rc.sysinit
==============================================================================
--- rc-scripts/trunk/rc.d/rc.sysinit	(original)
+++ rc-scripts/trunk/rc.d/rc.sysinit	Sun Feb 19 19:11:39 2012
@@ -264,6 +264,7 @@
 	fi
 
 	if ! is_no "$START_UDEV" && [ -x /sbin/start_udev ]; then
+		is_fsmounted devtmpfs /dev || mount -n -t devtmpfs devtmpfs /dev
 		load_kernel_modules modules.preudev
 		/sbin/start_udev
 		[ -x /sbin/initctl ] && /sbin/initctl -q start udev
@@ -467,6 +468,9 @@
 	# Enter root, /proc, /sys and other into mtab.
 	mount -f / 2> /dev/null
 	mount -f /proc 2> /dev/null
+	if is_fsmounted devtmpfs /dev; then
+		mount -f -t devtmpfs devtmpfs /dev 2> /dev/null
+	fi
 	if is_fsmounted tmpfs /run; then
 		mount -f -t tmpfs run /run 2> /dev/null
 	fi


More information about the pld-cvs-commit mailing list