Split -p into own synopsis
authorkn <kn@openbsd.org>
Fri, 19 Aug 2022 08:27:48 +0000 (08:27 +0000)
committerkn <kn@openbsd.org>
Fri, 19 Aug 2022 08:27:48 +0000 (08:27 +0000)
commitc770c5a23ae92b3b4de79c9c7b87716f7881c07b
tree01689ac77b82f3357819599ece78de9d517e86e0
parente90d50aa6e65a1f07616b2114bdbf6a247d9cef1
Split -p into own synopsis

Platform-dependent preparation of the filesystem required by the boot loader
only ever creates a new fileystem without instaling using any bootstrap files.

To reflect reality, turn
# installboot -nvp vnd0
Using / as root
would install bootstrap on /dev/rvnd0c
using first-stage /usr/mdec/biosboot, second-stage /usr/mdec/boot
would newfs 545c9bdf92aa18f9.i

into
# ./obj/installboot -nvp vnd0
would newfs 4db2c0e89e0d3268.i

and error out if -p is combined with -r or stages:
$ man -hl./installboot.8
installboot [-nv] [-r root] disk [stage1 [stage2]]
installboot [-nv] -p disk

Feedback OK millert
usr.sbin/installboot/installboot.8
usr.sbin/installboot/installboot.c