Don't be limited to md0 -> md9 raid device names

Someone may need to use a lot of raid devices.
Anyway, the new ubuntu mdadm/kernel setup creates a default mdadm.conf that seems to use names around /dev/md127

If you prefere more control on the digit number:

48 	  	
-    while ($text =~ /(md\d)\s+:\s+active\s+(\w+)\s+(.*)\n.*\[(\d+)\/(\d+)]\s+\[(\w+)]/ )
+    while ($text =~ /(md\d{1,3})\s+:\s+active\s+(\w+)\s+(.*)\n.*\[(\d+)\/(\d+)]\s+\[(\w+)]/ )

should works