--- rc.sysinit 2006-09-10 17:40:49.000000000 +0100 +++ /etc/rc.sysinit 2006-09-10 17:45:11.000000000 +0100 @@ -61,6 +61,7 @@ # If necessary, find md devices and manually assemble RAID arrays if [ -f /etc/mdadm.conf -a "`grep ^ARRAY /etc/mdadm.conf 2>/dev/null`" ]; then + stat_busy "Activating RAID arrays" # udev won't create these md nodes, so we do it ourselves for dev in `grep ^ARRAY /etc/mdadm.conf | awk '{print $2}'`; do path=`echo $dev | sed 's|/[^/]*$||'` @@ -68,7 +69,12 @@ minor=`echo $node | sed 's|^[^0-9]*||'` [ ! -e $path/$node ] && /bin/mknod $path/$node b 9 $minor done - status "Activating RAID arrays" /sbin/mdadm --assemble --scan + /sbin/mdadm --assemble --scan >/dev/null 2>&1 + if [ $? -eq 0 ]; then + stat_done + else + stat_fail + fi fi # Unmount and free up the old initrd if it exists