r75 - mdadm/trunk/debian/initramfs

madduck at users.alioth.debian.org madduck at users.alioth.debian.org
Wed Aug 2 21:51:07 UTC 2006


Author: madduck
Date: 2006-08-02 21:51:07 +0000 (Wed, 02 Aug 2006)
New Revision: 75

Modified:
   mdadm/trunk/debian/initramfs/hook
Log:
better dealing with partitionable raid arrays

Modified: mdadm/trunk/debian/initramfs/hook
===================================================================
--- mdadm/trunk/debian/initramfs/hook	2006-08-02 21:50:24 UTC (rev 74)
+++ mdadm/trunk/debian/initramfs/hook	2006-08-02 21:51:07 UTC (rev 75)
@@ -47,7 +47,7 @@
   eval $(mdadm --examine --scan --config=partitions \
     | while read a dev level num uuid; do
 
-      if expr "$dev" : '/dev/md(_d)?[0-9].*' >/dev/null; then
+      if expr "$dev" : '/dev/md[0-9].*' >/dev/null; then
         devfs_name="/dev/md/${dev#/dev/md}"
         if [ -b "$dev" ] && [ -b "$devfs_name" ] \
             && expr "$INITRDSTART" : ".*${devfs_name}.*" >/dev/null; then




More information about the pkg-mdadm-commits mailing list