diff options
author | joerg <joerg@FreeBSD.org> | 1996-12-01 17:19:29 +0000 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 1996-12-01 17:19:29 +0000 |
commit | facb673a9aff2058f0ae04c490c808063761bc84 (patch) | |
tree | bf0ad6b9392e2bcb7b819877df906219aa6132d4 /release/scripts | |
parent | 12ce4505add778056c459947c4cf13a0f2aa98c5 (diff) | |
download | FreeBSD-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.sh | 4 |
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 |