Module Name:    src
Committed By:   snj
Date:           Sat May 30 06:20:44 UTC 2009

Modified Files:
        src/sbin/reboot [netbsd-3]: reboot.8

Log Message:
Pull up following revision(s) (requested by jnemeth in ticket #2016):
        sbin/reboot/reboot.8: revision 1.22
Add a caveat about reboot(8) not running shutdown scripts.  This addresses
(at least partially) PR/35067 by Blair Sadewitz.


To generate a diff of this commit:
cvs rdiff -u -r1.21 -r1.21.6.1 src/sbin/reboot/reboot.8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sbin/reboot/reboot.8
diff -u src/sbin/reboot/reboot.8:1.21 src/sbin/reboot/reboot.8:1.21.6.1
--- src/sbin/reboot/reboot.8:1.21	Thu Aug  7 10:04:37 2003
+++ src/sbin/reboot/reboot.8	Sat May 30 06:20:44 2009
@@ -1,4 +1,4 @@
-.\"	$NetBSD: reboot.8,v 1.21 2003/08/07 10:04:37 agc Exp $
+.\"	$NetBSD: reboot.8,v 1.21.6.1 2009/05/30 06:20:44 snj Exp $
 .\"
 .\" Copyright (c) 1990, 1991, 1993
 .\"	The Regents of the University of California.  All rights reserved.
@@ -29,7 +29,7 @@
 .\"
 .\"	@(#)reboot.8	8.1 (Berkeley) 6/9/93
 .\"
-.Dd April 4, 2003
+.Dd May 24, 2007
 .Dt REBOOT 8
 .Os
 .Sh NAME
@@ -110,6 +110,15 @@
 To prevent premature termination, the command
 blocks many signals early in its execution.
 However, nothing can defend against deliberate attempts to evade this.
+.Pp
+This command will stop the system without running any
+.Xr shutdown 8
+scripts.  Amongst other things, this means that swapping will not be
+disabled so that
+.Xr raid 4
+can shutdown cleanly.  You should normally use
+.Xr shutdown 8
+unless you are running in single user mode.
 .Sh BUGS
 The single user shell will ignore the SIGTERM signal.
 To avoid waiting for the timeout when

Reply via email to