Wed Jun 8 12:19:15 2011 UTC ()
Correct description for hw.swwdog.reboot behaviour.


(pgoyette)
diff -r1.7 -r1.8 src/share/man/man4/swwdog.4

cvs diff -r1.7 -r1.8 src/share/man/man4/swwdog.4 (expand / switch to unified diff)

--- src/share/man/man4/swwdog.4 2010/10/23 03:27:03 1.7
+++ src/share/man/man4/swwdog.4 2011/06/08 12:19:14 1.8
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1.\" $NetBSD: swwdog.4,v 1.7 2010/10/23 03:27:03 pgoyette Exp $ 1.\" $NetBSD: swwdog.4,v 1.8 2011/06/08 12:19:14 pgoyette Exp $
2.\" 2.\"
3.\" Copyright (c) 2004, 2005 Steven M. Bellovin 3.\" Copyright (c) 2004, 2005 Steven M. Bellovin
4.\" All rights reserved. 4.\" All rights reserved.
5.\" 5.\"
6.\" Redistribution and use in source and binary forms, with or without 6.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions 7.\" modification, are permitted provided that the following conditions
8.\" are met: 8.\" are met:
9.\" 1. Redistributions of source code must retain the above copyright 9.\" 1. Redistributions of source code must retain the above copyright
10.\" notice, this list of conditions and the following disclaimer. 10.\" notice, this list of conditions and the following disclaimer.
11.\" 2. Redistributions in binary form must reproduce the above copyright 11.\" 2. Redistributions in binary form must reproduce the above copyright
12.\" notice, this list of conditions and the following disclaimer in the 12.\" notice, this list of conditions and the following disclaimer in the
13.\" documentation and/or other materials provided with the distribution. 13.\" documentation and/or other materials provided with the distribution.
14.\" 3. All advertising materials mentioning features or use of this software 14.\" 3. All advertising materials mentioning features or use of this software
@@ -21,49 +21,49 @@ @@ -21,49 +21,49 @@
21.\" 21.\"
22.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS 22.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS
23.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED 23.\" ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
24.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 24.\" TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
25.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS 25.\" PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS
26.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 26.\" BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
27.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF 27.\" CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
28.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 28.\" SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
29.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 29.\" INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
30.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 30.\" CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
31.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 31.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
32.\" POSSIBILITY OF SUCH DAMAGE. 32.\" POSSIBILITY OF SUCH DAMAGE.
33.\" 33.\"
34.Dd October 23, 2010 34.Dd June 8, 2011
35.\" Written by Steven M. Bellovin 35.\" Written by Steven M. Bellovin
36.Dt SWWDOG 4 36.Dt SWWDOG 4
37.Os 37.Os
38.Sh NAME 38.Sh NAME
39.Nm swwdog 39.Nm swwdog
40.Nd software watchdog timer 40.Nd software watchdog timer
41.Sh SYNOPSIS 41.Sh SYNOPSIS
42.Cd "pseudo-device swwdog" 42.Cd "pseudo-device swwdog"
43.Sh DESCRIPTION 43.Sh DESCRIPTION
44The 44The
45.Nm 45.Nm
46driver provides a software watchdog timer that works with 46driver provides a software watchdog timer that works with
47.Xr wdogctl 8 . 47.Xr wdogctl 8 .
48If the timer expires, the system reboots unless the boolean variable 48If the timer expires, the system reboots if the boolean variable
49.Va swwdog_panic 49.Va swwdog_reboot
50is 50is
51.Dv true ; 51.Dv true ;
52if it is, the system will panic instead. 52otherwise, the system will panic.
53.Va swwdog_reboot 53.Va swwdog_reboot
54is accessible as a 54is accessible as a
55.Xr sysctl 8 55.Xr sysctl 8
56variable, hw.swwdog0.reboot and defaults to 56variable, hw.swwdog.reboot and defaults to
57.Dv false . 57.Dv false .
58.Pp 58.Pp
59The default period of 59The default period of
60.Nm 60.Nm
61is 60 seconds. 61is 60 seconds.
62.Pp 62.Pp
63As with other watchdog timers, the 63As with other watchdog timers, the
64.Nm 64.Nm
65driver prevents a system from suspending when the watchdog is armed. 65driver prevents a system from suspending when the watchdog is armed.
66.Sh SEE ALSO 66.Sh SEE ALSO
67.Xr sysctl 8 , 67.Xr sysctl 8 ,
68.Xr wdogctl 8 68.Xr wdogctl 8
69.Sh HISTORY 69.Sh HISTORY