aboutsummaryrefslogtreecommitdiff
path: root/release/scripts
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2002-01-16 07:24:38 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2002-01-16 07:24:38 +0000
commit9318987eeac6e496403cf365040e73f04516e000 (patch)
tree166f9116438667daf8d65b774e6fe27e20fd4cf7 /release/scripts
parentd0615c64a5448ad63ade0b793516145efc846d31 (diff)
Notes
Diffstat (limited to 'release/scripts')
-rw-r--r--release/scripts/doFS.sh5
1 files changed, 1 insertions, 4 deletions
diff --git a/release/scripts/doFS.sh b/release/scripts/doFS.sh
index ab02f9f8da12..12aceaa9cd7b 100644
--- a/release/scripts/doFS.sh
+++ b/release/scripts/doFS.sh
@@ -45,12 +45,9 @@ dofs_vn () {
vnconfig -u /dev/r${VNDEVICE} 2>/dev/null || true
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
vnconfig -s labels -c /dev/r${VNDEVICE} ${FSIMG}
- disklabel -Brw /dev/r${VNDEVICE} ${FSLABEL}
+ disklabel -Brw ${VNDEVICE} ${FSLABEL}
newfs -i ${FSINODE} -o space -m 1 /dev/r${VNDEVICE}c
mount /dev/${VNDEVICE}c ${MNT}