Update this to deal with new boot block placement.

Reported by:	"John W. DeBoskey" <jwd@unx.sas.com>
This commit is contained in:
Jordan K. Hubbard 1999-01-02 23:15:20 +00:00
parent 57081f7b94
commit cb48829cff
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=42254

View file

@ -35,16 +35,7 @@ do
dd of=fs-image obs=1 seek=510 conv=notrunc 2>/dev/null
vnconfig -s labels -c /dev/r${VNDEVICE} fs-image
if [ "`uname -m`" = "alpha" ]; then
disklabel -Brw -b ${RD}/trees/bin/usr/mdec/boot1 \
/dev/r${VNDEVICE} ${FSLABEL}
else
disklabel -Brw \
-b ${RD}/trees/bin/usr/mdec/fdboot \
-s ${RD}/trees/bin/usr/mdec/bootfd \
/dev/r${VNDEVICE} ${FSLABEL}
fi
disklabel -Brw /dev/r${VNDEVICE} ${FSLABEL}
newfs -u 0 -t 0 -i ${FSINODE} -m 0 -T ${FSLABEL} -o space /dev/r${VNDEVICE}c
mount /dev/${VNDEVICE}c ${MNT}