Simplify the disklabel trickery, and thus avoid the dreaded

``Operation not supported by device''.

Requested by:	jkh
This commit is contained in:
Joerg Wunsch 1996-12-01 17:19:29 +00:00
parent 4eb73cdaff
commit 661a46b5a1
2 changed files with 4 additions and 4 deletions

View File

@ -35,10 +35,10 @@ do
vnconfig -s labels -c /dev/r${VNDEVICE} fs-image
dd if=${RD}/trees/bin/usr/mdec/boot1 of=fs-image conv=notrunc
disklabel /dev/r${VNDEVICE} | disklabel -R -B \
disklabel -Brw \
-b ${RD}/trees/bin/usr/mdec/fdboot \
-s ${RD}/trees/bin/usr/mdec/bootfd \
/dev/r${VNDEVICE} /dev/stdin
${VNDEVICE} auto
newfs -u 0 -t 0 -i ${FSINODE} -m 0 -T minimum -o space /dev/r${VNDEVICE}c

View File

@ -35,10 +35,10 @@ do
vnconfig -s labels -c /dev/r${VNDEVICE} fs-image
dd if=${RD}/trees/bin/usr/mdec/boot1 of=fs-image conv=notrunc
disklabel /dev/r${VNDEVICE} | disklabel -R -B \
disklabel -Brw \
-b ${RD}/trees/bin/usr/mdec/fdboot \
-s ${RD}/trees/bin/usr/mdec/bootfd \
/dev/r${VNDEVICE} /dev/stdin
${VNDEVICE} auto
newfs -u 0 -t 0 -i ${FSINODE} -m 0 -T minimum -o space /dev/r${VNDEVICE}c