On Tue, May 16, 2006 at 03:18:03PM -0500, finley wrote:
> Author: finley
> Date: 2006-05-16 15:18:02 -0500 (Tue, 16 May 2006)
> New Revision: 3571
>
> Modified:
> trunk/initrd_source/skel/etc/init.d/functions
> Log:
> * test for md device files before creating
>
> Modified: trunk/initrd_source/skel/etc/init.d/functions
> ===================================================================
> --- trunk/initrd_source/skel/etc/init.d/functions 2006-05-16 20:16:59 UTC
> (rev 3570)
> +++ trunk/initrd_source/skel/etc/init.d/functions 2006-05-16 20:18:02 UTC
> (rev 3571)
> @@ -731,10 +731,14 @@
> logmsg start_udevd
> /etc/init.d/udev start
>
> + #XXX We should figure out the root cause for this, at some point,
> + # and fix the actual problem, rather than just treating the
> + # symptom as we are doing here. -BEF-
> + #
> # workaround chicken/egg bug in mdadm and raidautorun with udev
> # they do the ioctl on the not yet existing device node...
> for i in 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
> 24 25 26 27 28 29 30 31 ; do
> - mknod -m 660 /dev/md$i b 9 $i
> + [ -e /dev/md$i ] || mknod -m 660 /dev/md$i b 9 $i
> done
> }
> #
Is that what you're missing? From /etc/init.d/udev:
# wait for the udevd childs to finish
log_action_begin_msg "Waiting for /dev to be fully populated"
while [ -d /dev/.udev/queue/ ]; do
sleep 1
udevd_timeout=$(($udevd_timeout - 1))
if [ $udevd_timeout -eq 0 ]; then
# ps axf
break
fi
done
--
dann frazier
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Sisuite-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sisuite-devel