Document RB_TIMEBAD. RB_DFLTROOT, RB_INITNAME, and RD_RDONLY are unimplemented or the default; documenting them is pointless and just makes this page harder to read.
I'm inclined to suggest deleting from sys/reboot.h the #defines for the unused options, including the three above as well as RB_SERCONS and RB_MINIROOT. Opinions? Philip Guenther Index: lib/libc/sys/reboot.2 =================================================================== RCS file: /data/src/openbsd/src/lib/libc/sys/reboot.2,v retrieving revision 1.18 diff -u -p -r1.18 reboot.2 --- lib/libc/sys/reboot.2 10 Sep 2015 17:55:21 -0000 1.18 +++ lib/libc/sys/reboot.2 9 Apr 2017 06:50:06 -0000 @@ -66,13 +66,6 @@ where .Em xx is the default disk name, without prompting for the file name. -.It Dv RB_DFLTROOT -Use the compiled in root device. -Normally, the system uses the device from which it was booted -as the root device if possible. -(The default behavior is dependent on the ability of the bootstrap program -to determine the drive from which it was loaded, which is not possible -on all systems.) .It Dv RB_DUMP Dump kernel memory before rebooting; see .Xr savecore 8 @@ -100,13 +93,6 @@ specified (for example, using the .Ic boot reboot command), so the system will reboot if a halt is not explicitly requested. -.It Dv RB_INITNAME -An option allowing the specification of an init program (see -.Xr init 8 ) -other than -.Pa /sbin/init -to be run when the system reboots. -This switch is not currently available. .It Dv RB_KDB Load the symbol table and enable a built-in debugger in the system. This option will have no useful function if the kernel is not configured @@ -124,9 +110,6 @@ Normally, the disks are sync'd (see before the processor is halted or rebooted. This option may be useful if file system changes have been made manually or if the processor is on fire. -.It Dv RB_RDONLY -Initially mount the root file system read-only. -This is currently the default, and this option has been deprecated. .It Dv RB_SINGLE Normally, the reboot procedure involves an automatic disk consistency check and then multi-user operations. @@ -148,6 +131,9 @@ of a disk chosen in a processor specific An automatic consistency check of the disks is normally performed (see .Xr fsck 8 ) . +.It Dv RB_TIMEBAD +Don't update the hardware clock from the system clock, +presumably because the system clock is suspect. .El .Sh RETURN VALUES If successful, this call never returns.