From: finley <fi...@sy...> - 2006-05-16 20:18:20
|
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 } # |