3 # create arrays with non-numeric names
4 conf=$targetdir/mdadm.conf
5 echo "CREATE names=yes" > $conf
7 for i in linear raid0 raid1 raid4 raid5 raid6
9 mdadm -CR --config $conf /dev/md/$i -l $i -n 4 $dev4 $dev3 $dev2 $dev1
11 [ -d /sys/class/block/md_$i/md ]