diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2002-01-16 07:24:38 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2002-01-16 07:24:38 +0000 |
| commit | 9318987eeac6e496403cf365040e73f04516e000 (patch) | |
| tree | 166f9116438667daf8d65b774e6fe27e20fd4cf7 /release/scripts | |
| parent | d0615c64a5448ad63ade0b793516145efc846d31 (diff) | |
Notes
Diffstat (limited to 'release/scripts')
| -rw-r--r-- | release/scripts/doFS.sh | 5 |
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} |
