--- trunk/magellan-initscripts/etc/rc.d/init.d/rc 2007/03/06 00:10:26 431 +++ trunk/magellan-initscripts/etc/rc.d/init.d/rc 2007/08/17 22:08:33 515 @@ -1,5 +1,5 @@ #!/bin/bash -# $Header: /home/cvsd/magellan-cvs/magellan-src/magellan-initscripts/etc/rc.d/init.d/rc,v 1.14 2007-03-06 00:10:26 niro Exp $ +# $Header: /home/cvsd/magellan-cvs/magellan-src/magellan-initscripts/etc/rc.d/init.d/rc,v 1.16 2007-08-17 22:08:33 niro Exp $ source /etc/sysconfig/rc source $rc_functions @@ -72,7 +72,7 @@ # copy over any persistant things if [[ -d /lib/udev/devices ]] then - cp --preserve=all --recursive --update /lib/udev/devices/* /dev + cp --preserve=all --recursive --update /lib/udev/devices/* /dev 2>/dev/null fi # not provided by sysfs but needed @@ -215,6 +215,7 @@ fi evaluate_retval + /lib/udev/write_root_link_rule populate_udev # create nodes that udev can't @@ -265,6 +266,14 @@ fi fi + ## load usbfs ## + if kernel_supports_fs usbfs + then + echo -e ${COLOREDSTAR}"Mounting usbfs at /proc/bus/usb ..." + mount -n -t usbfs usbfs /proc/bus/usb + evaluate_retval + fi + ### services state dir ### echo -e ${COLOREDSTAR}"Mounting tmpfs at ${svcdir} ..." mount -n -t tmpfs tmpfs "${svcdir}" -o rw,mode=0644,size="${svcsize}"k