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
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to