CVSROOT:        /cvs
Module name:    src
Changes by:     m...@cvs.openbsd.org    2015/10/15 13:27:30

Modified files:
        usr.sbin/installboot: bootstrap.c hppa64_installboot.c 
                              hppa_installboot.c installboot.h 
                              landisk_installboot.c vax_installboot.c 

Log message:
Add an extra argument to bootstrap() to allow for a limited overlap between an
existing partition and the boot blocks span, and update all callers to require
an overlap limit of zero sectors (thus not changing their behaviour).

Then, add proper support for vax: copy the 2nd-stage boot block to /boot and
install the 1st-stage boot block at the beginning of the disk, retaining the
disklabel; allow for an overlap of up to 16 sectors, which is perfectly fine
as long as your `a' partition is FFS.

Note that regular installs will not even have such an overlap, because the
default OpenBSD span on a disk on vax starts at sector 16, but installation
media use sperific layout which require this.

ok krw@

Reply via email to