From c1848c8a2d7ae0787c0876a695f72ab48f58efbf Mon Sep 17 00:00:00 2001 From: Kenneth R Westerback Date: Sun, 25 Oct 2015 10:20:52 +0000 Subject: 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@ --- distrib/zaurus/ramdisk/install.md | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'distrib/zaurus') diff --git a/distrib/zaurus/ramdisk/install.md b/distrib/zaurus/ramdisk/install.md index 78cd5bbce9f..3557c6e23d3 100644 --- a/distrib/zaurus/ramdisk/install.md +++ b/distrib/zaurus/ramdisk/install.md @@ -1,4 +1,4 @@ -# $OpenBSD: install.md,v 1.35 2015/06/02 19:54:07 rpe Exp $ +# $OpenBSD: install.md,v 1.36 2015/10/25 10:20:51 krw Exp $ # # # Copyright (c) 1996 The NetBSD Foundation, Inc. @@ -55,12 +55,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*) -- cgit v1.2.3