r127 - mdadm/trunk/debian

madduck at users.alioth.debian.org madduck at users.alioth.debian.org
Sun Aug 20 23:23:40 UTC 2006


Author: madduck
Date: 2006-08-20 23:23:36 +0000 (Sun, 20 Aug 2006)
New Revision: 127

Modified:
   mdadm/trunk/debian/mdadm.config
Log:
handle partitionable arrays

Modified: mdadm/trunk/debian/mdadm.config
===================================================================
--- mdadm/trunk/debian/mdadm.config	2006-08-20 22:52:23 UTC (rev 126)
+++ mdadm/trunk/debian/mdadm.config	2006-08-20 23:23:36 UTC (rev 127)
@@ -89,6 +89,9 @@
         # standardise by prefixing /dev/
         i="/dev/${i#/dev/}"
 
+        # remove partition from partitionable array
+        i="${i%p[0-9]*}"
+
         if [ ! -e "$i" ]; then
           error=1; msg=errexist; suffix=": $i"; break
         fi




More information about the pkg-mdadm-commits mailing list