summaryrefslogtreecommitdiff
path: root/distrib/amd64
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2015-10-25 10:20:52 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2015-10-25 10:20:52 +0000
commitc1848c8a2d7ae0787c0876a695f72ab48f58efbf (patch)
tree1e2500e7d4398d65596787246345d670c53c1b27 /distrib/amd64
parent52ac71cc7685fa0ffd377da1993d0a065bf74525 (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/amd64')
-rw-r--r--distrib/amd64/common/install.md9
1 files changed, 2 insertions, 7 deletions
diff --git a/distrib/amd64/common/install.md b/distrib/amd64/common/install.md
index d00dfad86a1..9e683451304 100644
--- a/distrib/amd64/common/install.md
+++ b/distrib/amd64/common/install.md
@@ -1,4 +1,4 @@
-# $OpenBSD: install.md,v 1.43 2015/10/09 18:30:54 rpe Exp $
+# $OpenBSD: install.md,v 1.44 2015/10/25 10:20:51 krw Exp $
#
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
@@ -72,12 +72,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 ;;
g*|G*)