summaryrefslogtreecommitdiffstats
path: root/release/scripts
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>1996-12-01 17:19:29 +0000
committerjoerg <joerg@FreeBSD.org>1996-12-01 17:19:29 +0000
commitfacb673a9aff2058f0ae04c490c808063761bc84 (patch)
treebf0ad6b9392e2bcb7b819877df906219aa6132d4 /release/scripts
parent12ce4505add778056c459947c4cf13a0f2aa98c5 (diff)
downloadFreeBSD-src-facb673a9aff2058f0ae04c490c808063761bc84.zip
FreeBSD-src-facb673a9aff2058f0ae04c490c808063761bc84.tar.gz
Simplify the disklabel trickery, and thus avoid the dreaded
``Operation not supported by device''. Requested by: jkh
Diffstat (limited to 'release/scripts')
-rw-r--r--release/scripts/doFS.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/doFS.sh b/release/scripts/doFS.sh
index 9dcf6cd..d55c424 100644
--- a/release/scripts/doFS.sh
+++ b/release/scripts/doFS.sh
@@ -35,10 +35,10 @@ do
vnconfig -s labels -c /dev/r${VNDEVICE} fs-image
dd if=${RD}/trees/bin/usr/mdec/boot1 of=fs-image conv=notrunc
- disklabel /dev/r${VNDEVICE} | disklabel -R -B \
+ disklabel -Brw \
-b ${RD}/trees/bin/usr/mdec/fdboot \
-s ${RD}/trees/bin/usr/mdec/bootfd \
- /dev/r${VNDEVICE} /dev/stdin
+ ${VNDEVICE} auto
newfs -u 0 -t 0 -i ${FSINODE} -m 0 -T minimum -o space /dev/r${VNDEVICE}c
OpenPOWER on IntegriCloud