summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorPhilip Guenther <guenther@cvs.openbsd.org>2017-04-15 18:55:28 +0000
committerPhilip Guenther <guenther@cvs.openbsd.org>2017-04-15 18:55:28 +0000
commit2f9b31d5b9534194261f67d9eca09194395b15de (patch)
tree74f66d261ed9b5971fb0ba255688faa7bd272427 /lib/libc
parent4ae3360252be7cd8f152f8880fcb801a94d6dce3 (diff)
Document RB_TIMEBAD; delete RB_* that are obsolete/unimplemented
ok visa@ deraadt@
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/reboot.224
1 files changed, 5 insertions, 19 deletions
diff --git a/lib/libc/sys/reboot.2 b/lib/libc/sys/reboot.2
index 632e83e7484..ebc13dd5cb9 100644
--- a/lib/libc/sys/reboot.2
+++ b/lib/libc/sys/reboot.2
@@ -1,4 +1,4 @@
-.\" $OpenBSD: reboot.2,v 1.18 2015/09/10 17:55:21 schwarze Exp $
+.\" $OpenBSD: reboot.2,v 1.19 2017/04/15 18:55:27 guenther Exp $
.\" $NetBSD: reboot.2,v 1.5 1995/02/27 12:36:02 cgd Exp $
.\"
.\" Copyright (c) 1980, 1991, 1993
@@ -30,7 +30,7 @@
.\"
.\" @(#)reboot.2 8.1 (Berkeley) 6/4/93
.\"
-.Dd $Mdocdate: September 10 2015 $
+.Dd $Mdocdate: April 15 2017 $
.Dt REBOOT 2
.Os
.Sh NAME
@@ -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 way.
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.