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/zaurus | |
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/zaurus')
-rw-r--r-- | distrib/zaurus/ramdisk/install.md | 9 |
1 files changed, 2 insertions, 7 deletions
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*) |