diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2015-10-25 10:20:52 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2015-10-25 10:20:52 +0000 |
commit | c1848c8a2d7ae0787c0876a695f72ab48f58efbf (patch) | |
tree | 1e2500e7d4398d65596787246345d670c53c1b27 /distrib/socppc/ramdisk | |
parent | 52ac71cc7685fa0ffd377da1993d0a065bf74525 (diff) |
Use 'fdisk -i', instead of 'fdisk -e' with a here document of
'reinit;update;write;quit'. They've done the same thing for some
time now.
Tweaks & test from rpe@.
ok rpe@ deraadt@
Diffstat (limited to 'distrib/socppc/ramdisk')
-rw-r--r-- | distrib/socppc/ramdisk/install.md | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/distrib/socppc/ramdisk/install.md b/distrib/socppc/ramdisk/install.md index f564e4a4a7c..89574316c74 100644 --- a/distrib/socppc/ramdisk/install.md +++ b/distrib/socppc/ramdisk/install.md @@ -1,4 +1,4 @@ -# $OpenBSD: install.md,v 1.22 2015/06/02 19:54:06 rpe Exp $ +# $OpenBSD: install.md,v 1.23 2015/10/25 10:20:51 krw Exp $ # # # Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -61,12 +61,7 @@ md_prep_fdisk() { case $resp in w*|W*) echo -n "Setting OpenBSD MBR partition to whole $_disk..." - fdisk -e ${_disk} <<__EOT >/dev/null -reinit -update -write -quit -__EOT + fdisk -iy $_disk >/dev/null echo "done." return ;; e*|E*) |