diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2001-11-20 20:25:12 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2001-11-20 20:25:12 +0000 |
| commit | ef48c744aa3ec0ef553ba24bedf88c760132ff2b (patch) | |
| tree | 7445fe2252f8a83d477cff4465d630440f75fe2b /release/scripts | |
| parent | 22c40799901c2b2a85c2b6ad8000f976f9125d63 (diff) | |
Notes
Diffstat (limited to 'release/scripts')
| -rw-r--r-- | release/scripts/doFS.sh | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/release/scripts/doFS.sh b/release/scripts/doFS.sh index 7ef4383277f4..ab02f9f8da12 100644 --- a/release/scripts/doFS.sh +++ b/release/scripts/doFS.sh @@ -51,7 +51,7 @@ dofs_vn () { vnconfig -s labels -c /dev/r${VNDEVICE} ${FSIMG} disklabel -Brw /dev/r${VNDEVICE} ${FSLABEL} - newfs -i ${FSINODE} -T ${FSLABEL} -o space -m 1 /dev/r${VNDEVICE}c + newfs -i ${FSINODE} -o space -m 1 /dev/r${VNDEVICE}c mount /dev/${VNDEVICE}c ${MNT} @@ -91,9 +91,6 @@ dofs_md () { fi dd of=${FSIMG} if=/dev/zero count=${FSSIZE} bs=1k 2>/dev/null - # this suppresses the `invalid primary partition table: no magic' - awk 'BEGIN {printf "%c%c", 85, 170}' |\ - dd of=${FSIMG} obs=1 seek=510 conv=notrunc 2>/dev/null MDDEVICE=`mdconfig -a -t vnode -f ${FSIMG}` if [ ! -c /dev/${MDDEVICE} ] ; then @@ -104,7 +101,7 @@ dofs_md () { exit 1 fi fi - disklabel -Brw /dev/${MDDEVICE} ${FSLABEL} + disklabel -Brw ${MDDEVICE} ${FSLABEL} newfs -i ${FSINODE} -o space -m 0 /dev/${MDDEVICE}c mount /dev/${MDDEVICE}c ${MNT} |
