summaryrefslogtreecommitdiffstats
path: root/usr.sbin/installboot/softraid.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Provide clear errors when trying to install oversized boot loaderkn2020-06-081-1/+17
| | | | | | | | | | | | | | | | sparc64 installboot(8) on softraid(4) with too large files, e.g. unstripped builds, fails poorly with "installboot: softraid installboot failed". This is due to the BIOCINSTALLBOOT ioctl(2) returing the default EINVAL rather than using softraid's sr_error() interface properly; additionally, installboot does not check for such message from the bio(4) layer. Make the kernel generate "boot block too large" and "boot loader too large" messages for softraid devices and have installboot act upon them analogous to bioctl(8), by adapting its bio_status() into the new sr_status() helper. Input, reminder to look at bioctl, same kernel diff from, OK jsing
* Nuke trailing whitespace to avoid cluttering possible upcoming diffs.krw2015-10-031-2/+2
|
* first batch of cleanup to programs based upon the namespace cleanupsderaadt2015-01-161-2/+1
| | | | | | | in net/pfvar.h sys/proc.h sys/ucred.h arpa/nameser.h change to PATH_MAX, reduce use of MIN() and MAX(), HOST_NAME_MAX+1, LOGIN_NAME_MAX, etc etc ok millert guenther, some review by doug
* Various code clean ups - add a missing header, add a missing prototype,jsing2013-12-281-6/+4
| | | | add some casts, tweak some types and variable names.
* Initial version of a unified installboot(8) that lives outside ofjsing2013-12-271-0/+97
sys/arch/${MACHINE}/stand. For now this only supports i386, however additional architectures will be added and further development can happen in tree. Requested by deraadt@ quite some time ago.