8 mdconfig -a -t malloc -s 1M -u $us || exit 1
9 mdconfig -a -t malloc -s 2M -u `expr $us + 1` || exit 1
10 mdconfig -a -t malloc -s 3M -u `expr $us + 2` || exit 1
12 gconcat create $name /dev/md${us} /dev/md`expr $us + 1` /dev/md`expr $us + 2` || exit 1
14 # Size of created device should be 1MB + 2MB + 3MB.
16 size=`diskinfo /dev/concat/${name} | awk '{print $3}'`
18 if [ $size -eq 6291456 ]; then
26 mdconfig -d -u `expr $us + 1`
27 mdconfig -d -u `expr $us + 2`