Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/man/man4 Expand the description of "reboot" slightly: ...



details:   https://anonhg.NetBSD.org/src/rev/9b43817a2dda
branches:  trunk
changeset: 573916:9b43817a2dda
user:      fredb <fredb%NetBSD.org@localhost>
date:      Mon Feb 14 18:14:27 2005 +0000

description:
Expand the description of "reboot" slightly: add cross-references to
reboot(2) and reboot(8), and especially document RB_DUMP -- which is,
in fact, documented in reboot(2), if you'd only known to look there.

diffstat:

 share/man/man4/ddb.4 |  11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diffs (46 lines):

diff -r 237f26425162 -r 9b43817a2dda share/man/man4/ddb.4
--- a/share/man/man4/ddb.4      Mon Feb 14 16:16:24 2005 +0000
+++ b/share/man/man4/ddb.4      Mon Feb 14 18:14:27 2005 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: ddb.4,v 1.80 2004/09/30 09:20:52 wiz Exp $
+.\"    $NetBSD: ddb.4,v 1.81 2005/02/14 18:14:27 fredb Exp $
 .\"
 .\" Copyright (c) 1997 - 2003 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -63,7 +63,7 @@
 .\" any improvements or extensions that they make and grant Carnegie Mellon
 .\" the rights to redistribute these changes.
 .\"
-.Dd September 30, 2004
+.Dd February 14, 2005
 .Dt DDB 4
 .Os
 .Sh NAME
@@ -534,7 +534,9 @@
 .It Ic reboot Op Ar flags
 Reboot, using the optionally supplied boot
 .Ar flags ,
-which is a bitmask supporting the following values:
+which is a bitmask supporting the same values as for
+.Xr reboot 2 .
+Some of the more useful flags:
 .Bl -column "Value" "RB_AUTOBOOT" "Description"
 .It Sy "Value" Ta Sy "Name" Ta Sy "Description"
 .It 0x1 Ta RB_ASKNAME Ta Ask for file name to reboot from
@@ -542,6 +544,7 @@
 .It 0x4 Ta RB_NOSYNC Ta Don't sync before reboot
 .It 0x8 Ta RB_HALT Ta Halt instead of reboot
 .It 0x40 Ta RB_KDB Ta Boot into kernel debugger
+.It 0x100 Ta RB_DUMP Ta Dump unconditionally before reboot
 .It 0x808 Ta RB_POWERDOWN Ta Power off (or at least halt)
 .El
 .Pp
@@ -1231,6 +1234,8 @@
 .El
 .Sh SEE ALSO
 .Xr options 4 ,
+.Xr reboot 2 ,
+.Xr reboot 8 ,
 .Xr sysctl 8 ,
 .Xr cnmagic 9
 .Sh HISTORY



Home | Main Index | Thread Index | Old Index