Module Name: src Committed By: apb Date: Fri Sep 4 23:29:03 UTC 2009
Modified Files: src/lib/libc/sys: reboot.2 src/share/man/man8: boot.8 src/share/man/man8/man8.acorn26: boot26.8 src/share/man/man8/man8.acorn32: boot32.8 src/share/man/man8/man8.i386: boot.8 src/share/man/man9: cpu_reboot.9 ipkdb.9 kprintf.9 Log Message: Add cross references to new reboot(9) man page. To generate a diff of this commit: cvs rdiff -u -r1.26 -r1.27 src/lib/libc/sys/reboot.2 cvs rdiff -u -r1.11 -r1.12 src/share/man/man8/boot.8 cvs rdiff -u -r1.4 -r1.5 src/share/man/man8/man8.acorn26/boot26.8 cvs rdiff -u -r1.2 -r1.3 src/share/man/man8/man8.acorn32/boot32.8 cvs rdiff -u -r1.51 -r1.52 src/share/man/man8/man8.i386/boot.8 cvs rdiff -u -r1.16 -r1.17 src/share/man/man9/cpu_reboot.9 cvs rdiff -u -r1.8 -r1.9 src/share/man/man9/ipkdb.9 cvs rdiff -u -r1.27 -r1.28 src/share/man/man9/kprintf.9 Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/lib/libc/sys/reboot.2 diff -u src/lib/libc/sys/reboot.2:1.26 src/lib/libc/sys/reboot.2:1.27 --- src/lib/libc/sys/reboot.2:1.26 Thu Nov 6 16:23:56 2008 +++ src/lib/libc/sys/reboot.2 Fri Sep 4 23:29:02 2009 @@ -1,4 +1,4 @@ -.\" $NetBSD: reboot.2,v 1.26 2008/11/06 16:23:56 tsutsui Exp $ +.\" $NetBSD: reboot.2,v 1.27 2009/09/04 23:29:02 apb Exp $ .\" .\" Copyright (c) 1980, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -29,7 +29,7 @@ .\" .\" @(#)reboot.2 8.1 (Berkeley) 6/4/93 .\" -.Dd September 11, 2008 +.Dd September 4, 2009 .Dt REBOOT 2 .Os .Sh NAME @@ -55,6 +55,11 @@ .Aq Pa sys/reboot.h , to be passed to the new kernel or the new bootstrap and init programs. +In addition to the options described below, other options +described in +.Xr boothowto 9 +may be set, but such options may be ignored by the system. +.Pp Options can be combined together by OR'ing them, eg. .Dv RB_DUMP | .Dv RB_NOSYNC @@ -166,7 +171,8 @@ .Xr halt 8 , .Xr init 8 , .Xr reboot 8 , -.Xr savecore 8 +.Xr savecore 8 , +.Xr boothowto 9 .Sh HISTORY The .Fn reboot Index: src/share/man/man8/boot.8 diff -u src/share/man/man8/boot.8:1.11 src/share/man/man8/boot.8:1.12 --- src/share/man/man8/boot.8:1.11 Wed Mar 11 19:01:29 2009 +++ src/share/man/man8/boot.8 Fri Sep 4 23:29:02 2009 @@ -1,4 +1,4 @@ -.\" $NetBSD: boot.8,v 1.11 2009/03/11 19:01:29 joerg Exp $ +.\" $NetBSD: boot.8,v 1.12 2009/09/04 23:29:02 apb Exp $ .\" .\" Copyright (c) 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -32,7 +32,7 @@ .\" .\" @(#)boot_i386.8 8.2 (Berkeley) 4/19/94 .\" -.Dd October 30, 2008 +.Dd September 4, 2009 .Dt BOOT 8 .Os .Sh NAME @@ -53,12 +53,8 @@ boot protocol, options are passed from the boot loader to the kernel via flag bits in the .Va boothowto -variable, which is interpreted by the kernel in much the same way -as the -.Va howto -argument passed to the -.Xr reboot 2 -system call. +variable (see +.Xr boothowto 9 ) . .Ss Interactive mode In interactive mode, the boot loader will present a prompt, allowing input of these commands: @@ -278,7 +274,8 @@ .Xr installboot 8 , .Xr reboot 8 , .Xr rescue 8 , -.Xr shutdown 8 +.Xr shutdown 8 , +.Xr boothowto 9 .Sh BUGS The kernel file name must be specified before, not after, the boot options. Any Index: src/share/man/man8/man8.acorn26/boot26.8 diff -u src/share/man/man8/man8.acorn26/boot26.8:1.4 src/share/man/man8/man8.acorn26/boot26.8:1.5 --- src/share/man/man8/man8.acorn26/boot26.8:1.4 Sat Jul 26 20:17:38 2003 +++ src/share/man/man8/man8.acorn26/boot26.8 Fri Sep 4 23:29:03 2009 @@ -1,4 +1,4 @@ -.\" $NetBSD: boot26.8,v 1.4 2003/07/26 20:17:38 salo Exp $ +.\" $NetBSD: boot26.8,v 1.5 2009/09/04 23:29:03 apb Exp $ .\" .\" Copyright (c) 2000, 2001 Ben Harris .\" All rights reserved. @@ -25,7 +25,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd August 4, 2001 +.Dd September 4, 2009 .Dt BOOT26 8 acorn26 .Os .Sh NAME @@ -50,7 +50,8 @@ .Pp It takes the following options, which set flags in the .Va boothowto -variable in the booted kernel: +variable in the booted kernel (see +.Xr boothowto 9 ) : .Bl -tag -width Fl .It Fl a .Pq Dv RB_ASKNAME @@ -163,7 +164,8 @@ .Xr reboot 2 , .Xr ddb 4 , .Xr userconf 4 , -.Xr init 8 +.Xr init 8 , +.Xr boothowto 9 .Sh HISTORY .Nm was introduced in Index: src/share/man/man8/man8.acorn32/boot32.8 diff -u src/share/man/man8/man8.acorn32/boot32.8:1.2 src/share/man/man8/man8.acorn32/boot32.8:1.3 --- src/share/man/man8/man8.acorn32/boot32.8:1.2 Mon Feb 23 19:39:48 2004 +++ src/share/man/man8/man8.acorn32/boot32.8 Fri Sep 4 23:29:03 2009 @@ -1,4 +1,4 @@ -.\" $NetBSD: boot32.8,v 1.2 2004/02/23 19:39:48 wiz Exp $ +.\" $NetBSD: boot32.8,v 1.3 2009/09/04 23:29:03 apb Exp $ .\" .\" Copyright (c) 2000, 2001 Ben Harris .\" Copyright (c) 2004 Reinoud Zandijk @@ -26,7 +26,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd February 23, 2004 +.Dd September 4, 2009 .Dt BOOT32 8 acorn32 .Os .Sh NAME @@ -55,7 +55,9 @@ .Nx options, which set flags in the .Va boothowto -variable in the booted kernel (not all flags may be effective): +variable in the booted kernel (see +.Xr boothowto 9 ) . +Not all flags may be effective. .Bl -tag -width Fl .It Fl a .Pq Dv RB_ASKNAME @@ -138,7 +140,8 @@ .Xr reboot 2 , .Xr ddb 4 , .Xr userconf 4 , -.Xr init 8 +.Xr init 8 , +.Xr boothowto 9 .Sh HISTORY .Nm was introduced in Index: src/share/man/man8/man8.i386/boot.8 diff -u src/share/man/man8/man8.i386/boot.8:1.51 src/share/man/man8/man8.i386/boot.8:1.52 --- src/share/man/man8/man8.i386/boot.8:1.51 Tue Sep 1 21:30:17 2009 +++ src/share/man/man8/man8.i386/boot.8 Fri Sep 4 23:29:03 2009 @@ -1,4 +1,4 @@ -.\" $NetBSD: boot.8,v 1.51 2009/09/01 21:30:17 ahoka Exp $ +.\" $NetBSD: boot.8,v 1.52 2009/09/04 23:29:03 apb Exp $ .\" .\" Copyright (c) 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -32,7 +32,7 @@ .\" .\" @(#)boot_i386.8 8.2 (Berkeley) 4/19/94 .\" -.Dd September 1, 2009 +.Dd September 4, 2009 .Dt BOOT 8 i386 .Os .Sh NAME @@ -156,12 +156,8 @@ boot protocol, options are passed from the boot loader to the kernel via flag bits in the .Va boothowto -variable, which is interpreted by the kernel in much the same way -as the -.Va howto -argument passed to the -.Xr reboot 2 -system call. +variable (see +.Xr boothowto 9 ) . In the multiboot protocol, options are passed from the boot loader to the kernel as strings. .Ss Diagnostic Output @@ -502,7 +498,8 @@ .Xr pxeboot 8 , .Xr reboot 8 , .Xr shutdown 8 , -.Xr w95boot 8 +.Xr w95boot 8 , +.Xr boothowto 9 .Sh BUGS The kernel file name must be specified before, not after, the boot options. Any Index: src/share/man/man9/cpu_reboot.9 diff -u src/share/man/man9/cpu_reboot.9:1.16 src/share/man/man9/cpu_reboot.9:1.17 --- src/share/man/man9/cpu_reboot.9:1.16 Wed Apr 16 13:35:27 2003 +++ src/share/man/man9/cpu_reboot.9 Fri Sep 4 23:29:03 2009 @@ -1,4 +1,4 @@ -.\" $NetBSD: cpu_reboot.9,v 1.16 2003/04/16 13:35:27 wiz Exp $ +.\" $NetBSD: cpu_reboot.9,v 1.17 2009/09/04 23:29:03 apb Exp $ .\" .\" Copyright (c) 1994 Christopher G. Demetriou .\" All rights reserved. @@ -32,7 +32,7 @@ .\" .\" <<Id: LICENSE,v 1.2 2000/06/14 15:57:33 cgd Exp>> .\" -.Dd November 13, 1995 +.Dd September 4, 2009 .Dt CPU_REBOOT 9 .Os .Sh NAME @@ -58,7 +58,9 @@ .It Sets the .Va boothowto -system variable from the +system variable (see +.Xr boothowto 9 ) +from the .Fa howto argument. .It @@ -111,6 +113,7 @@ .Fa bootstr is passed to the system boot loader on some ports. .Sh SEE ALSO +.Xr boothowto 9 , .Xr doshutdownhooks 9 , .Xr dumpsys 9 , .Xr resettodr 9 , Index: src/share/man/man9/ipkdb.9 diff -u src/share/man/man9/ipkdb.9:1.8 src/share/man/man9/ipkdb.9:1.9 --- src/share/man/man9/ipkdb.9:1.8 Wed Apr 30 13:10:58 2008 +++ src/share/man/man9/ipkdb.9 Fri Sep 4 23:29:03 2009 @@ -1,4 +1,4 @@ -.\" $NetBSD: ipkdb.9,v 1.8 2008/04/30 13:10:58 martin Exp $ +.\" $NetBSD: ipkdb.9,v 1.9 2009/09/04 23:29:03 apb Exp $ .\" .\" Copyright (c) 2002 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -27,7 +27,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd May 23, 2002 +.Dd September 4, 2009 .Dt IPKDB 9 .Os .Sh NAME @@ -61,7 +61,10 @@ .Fn ipkdb_init . If the kernel is booted with .Dv RB_KDB -set in boothowto, then +set in +.Va boothowto +(see +.Xr boothowto 9 ) , .Xr ipkdb 4 is enabled by invoking .Fn ipkdb_connect , @@ -173,4 +176,5 @@ table entry to the value before the store. .El .Sh SEE ALSO -.Xr ipkdb 4 +.Xr ipkdb 4 , +.Xr boothowto 9 Index: src/share/man/man9/kprintf.9 diff -u src/share/man/man9/kprintf.9:1.27 src/share/man/man9/kprintf.9:1.28 --- src/share/man/man9/kprintf.9:1.27 Wed Apr 8 12:46:04 2009 +++ src/share/man/man9/kprintf.9 Fri Sep 4 23:29:03 2009 @@ -1,4 +1,4 @@ -.\" $NetBSD: kprintf.9,v 1.27 2009/04/08 12:46:04 joerg Exp $ +.\" $NetBSD: kprintf.9,v 1.28 2009/09/04 23:29:03 apb Exp $ .\" .\" Copyright (c) 1998, 2002, 2007 The NetBSD Foundation, Inc. .\" All rights reserved. @@ -27,7 +27,7 @@ .\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE .\" POSSIBILITY OF SUCH DAMAGE. .\" -.Dd September 24, 2007 +.Dd September 4, 2009 .Dt KPRINTF 9 .Os .Sh NAME @@ -149,8 +149,10 @@ .Xr autoconf 9 messages. Their verbosity depends on flags set in the -.Dq boothowto +.Va boothowto variable, through options passed during bootstrap; see +.Xr boothowto 9 +and .Sx Interactive mode in .Xr boot 8 : @@ -253,7 +255,8 @@ .Xr printf 3 , .Xr snprintb 3 , .Xr boot 8 , -.Xr autoconf 9 +.Xr autoconf 9 , +.Xr boothowto 9 .Sh CODE REFERENCES .Pa sys/kern/subr_prf.c .Sh HISTORY