Make installboot on landisk aware of a possible MBR on the disk, and in this
authormiod <miod@openbsd.org>
Wed, 31 Aug 2022 18:46:06 +0000 (18:46 +0000)
committermiod <miod@openbsd.org>
Wed, 31 Aug 2022 18:46:06 +0000 (18:46 +0000)
commit0ea62af58cceeb96e731e7dd96796dba14cc119f
treeb4d95cd9e45952b0d318e516736cb38c50b97e80
parent4172793d0f863cf55eae24d9a15a6e2768524bf2
Make installboot on landisk aware of a possible MBR on the disk, and in this
case install the first level bootstrap at the beginning of the of the wd0a
filesystem, rather than at the beginning of the disk.

Both locations work but the previous behaviour overwriting an existing MBR
is a violation of POLA.

tweaks & ok krw@
distrib/special/installboot/Makefile
usr.sbin/installboot/Makefile
usr.sbin/installboot/landisk_installboot.c