This flips the default response for the macppc disk layout question
from HFS to MBR.

I use an MBR on all my macppc machines. Booting OpenBSD is much simpler
this way. I don't see why I cannot just hit enter for this question on
new installs. I'd rather let Mac software archaeologists who wish to
dual-boot an obsolete Mac OS with OpenBSD do the extra work.

There is a follow-up question in md_prep_MBR which prints a warning
and confirms this choice again. So I don't expect this change will
cause anyone to overwrite an HFS partition table by accident.

OK?

Index: install.md
===================================================================
RCS file: /cvs/src/distrib/macppc/ramdisk/install.md,v
retrieving revision 1.71
diff -u -p -r1.71 install.md
--- install.md  28 Jul 2017 18:15:44 -0000      1.71
+++ install.md  22 Nov 2017 22:11:54 -0000
@@ -144,7 +144,7 @@ md_prep_disklabel() {
        PARTTABLE=
        while [[ -z $PARTTABLE ]]; do
                resp=MBR
-               disk_has $_disk hfs && ask "Use HFS or MBR partition table?" HFS
+               disk_has $_disk hfs && ask "Use HFS or MBR partition table?" MBR
                case $resp in
                [mM]*)  md_prep_MBR $_disk && PARTTABLE=MBR ;;
                [hH]*)  md_prep_HFS $_disk && PARTTABLE=HFS ;;


Reply via email to