-# $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.
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*)
-# $OpenBSD: install.md,v 1.20 2015/06/02 19:54:06 rpe Exp $
+# $OpenBSD: install.md,v 1.21 2015/10/25 10:20:51 krw Exp $
#
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
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*)
-# $OpenBSD: install.md,v 1.64 2015/06/02 19:54:06 rpe Exp $
+# $OpenBSD: install.md,v 1.65 2015/10/25 10:20:51 krw Exp $
#
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
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*)
-# $OpenBSD: install.md,v 1.35 2015/10/05 04:31:21 miod Exp $
+# $OpenBSD: install.md,v 1.36 2015/10/25 10:20:51 krw Exp $
#
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
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*)
-# $OpenBSD: install.md,v 1.61 2015/10/17 08:47:24 rpe Exp $
+# $OpenBSD: install.md,v 1.62 2015/10/25 10:20:51 krw Exp $
#
#
# Copyright (c) 1996 The NetBSD Foundation, Inc.
w*|W*)
echo -n "Creating a 1MB DOS partition and an OpenBSD partition for rest of $_disk..."
dd if=/dev/zero of=/dev/r${_disk}c bs=1m count=1
- fdisk -e $_disk <<__EOT >/dev/null
-reinit
-update
-write
-quit
-__EOT
+ fdisk -iy $_disk >/dev/null
echo "done."
break ;;
e*|E*)
-# $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.
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*)
-# $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.
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*)