Fix check for available /dev/md* devices
authorMichael Prokop <mika@grml.org>
Mon, 13 Oct 2014 19:14:52 +0000 (21:14 +0200)
committerMichael Prokop <mika@grml.org>
Mon, 13 Oct 2014 19:14:53 +0000 (21:14 +0200)
commit6dde1bdbf1ffab952beded7a4900b1264429ac47
treeed1bfad1fbc06f13fd94369d603e2327660c6a58
parent5adf8f682756357f82f26b7400b1c140f1924bcf
Fix check for available /dev/md* devices

/dev/md* might also expand devices like /dev/md/0:

| # ls -la /dev/md*
| brw-rw---- 1 root disk 9, 0 Oct 13 19:01 /dev/md0
|
| /dev/md:
| total 0
| drwxr-xr-x  2 root root   60 Oct 13 19:01 ./
| drwxr-xr-x 15 root root 3860 Oct 13 19:02 ../
| lrwxrwxrwx  1 root root    6 Oct 13 19:01 0 -> ../md0

We're interested only in /dev/md[0-9]* devices though.
grml-debootstrap