OCTBOOT(4) | Device Drivers Manual (octeon) | OCTBOOT(4) |
octboot
— kernel
boot interface
pseudo-device octboot
The octboot
driver provides an
ioctl(2) interface for booting into
another kernel from the currently running kernel.
octboot
provides the following
ioctl(2) commands, available through
<machine/octboot.h>
:
OBIOC_GETROOTDEV
char rootdev[PATH_MAX]OBIOC_KEXEC
struct octboot_kexec_args *args
struct octboot_kexec_args { char *kimg; size_t klen; char *argv[OCTBOOT_MAX_ARGS]; };
The octboot
driver first appeared in
OpenBSD 6.6.
October 10, 2020 | OpenBSD-current |