Change yet another script to use /dev/mdX instead of /dev/mdXc (see

also r188438).
This commit is contained in:
Marius Strobl 2009-03-24 20:00:28 +00:00
parent 049ce0934f
commit d0f083bca0

View File

@ -31,8 +31,8 @@ if [ "x$1" = "x-b" ]; then
dd if=/dev/zero of=${IMG} bs=512 count=1024
MD=`mdconfig -a -t vnode -f ${IMG}`
sunlabel -w -B -b $4/boot/boot1 ${MD} auto
newfs -O1 -o space -m 0 /dev/${MD}c
mount /dev/${MD}c ${MNT}
newfs -O1 -o space -m 0 /dev/${MD}
mount /dev/${MD} ${MNT}
mkdir ${MNT}/boot
cp $4/boot/loader ${MNT}/boot
umount ${MNT}