aboutsummaryrefslogtreecommitdiff
path: root/release/doFS.sh
diff options
context:
space:
mode:
authorJoerg Wunsch <joerg@FreeBSD.org>1996-12-01 17:19:29 +0000
committerJoerg Wunsch <joerg@FreeBSD.org>1996-12-01 17:19:29 +0000
commit661a46b5a163770aa911b4314e6ea6f5e621f989 (patch)
treebf0ad6b9392e2bcb7b819877df906219aa6132d4 /release/doFS.sh
parent4eb73cdafffefcf65741a80033ac3d9815e54c5b (diff)
downloadsrc-661a46b5a163770aa911b4314e6ea6f5e621f989.tar.gz
src-661a46b5a163770aa911b4314e6ea6f5e621f989.zip
Simplify the disklabel trickery, and thus avoid the dreaded
``Operation not supported by device''. Requested by: jkh
Notes
Notes: svn path=/head/; revision=20071
Diffstat (limited to 'release/doFS.sh')
-rw-r--r--release/doFS.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/release/doFS.sh b/release/doFS.sh
index 9dcf6cdcd8f5..d55c424247ea 100644
--- a/release/doFS.sh
+++ b/release/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