summaryrefslogtreecommitdiffstats
path: root/release/scripts
diff options
context:
space:
mode:
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 ab02f9f..12aceaa 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}
OpenPOWER on IntegriCloud