diff options
author | Aaron Campbell <aaron@cvs.openbsd.org> | 1998-09-17 04:15:04 +0000 |
---|---|---|
committer | Aaron Campbell <aaron@cvs.openbsd.org> | 1998-09-17 04:15:04 +0000 |
commit | afa9f8ccda18c5ff879f432ae6f0b9a601b992b3 (patch) | |
tree | 8356bdc65590449d1a86d64a309c95681f802ad2 /sbin/reboot/reboot.8 | |
parent | 90e9edeb57b7efe3b1aba0ddeda30341b7e9fd0c (diff) |
sbin/ man page fixes
Diffstat (limited to 'sbin/reboot/reboot.8')
-rw-r--r-- | sbin/reboot/reboot.8 | 41 |
1 files changed, 14 insertions, 27 deletions
diff --git a/sbin/reboot/reboot.8 b/sbin/reboot/reboot.8 index 708a0caf354..02d29565974 100644 --- a/sbin/reboot/reboot.8 +++ b/sbin/reboot/reboot.8 @@ -1,4 +1,4 @@ -.\" $OpenBSD: reboot.8,v 1.9 1998/07/24 00:43:51 espie Exp $ +.\" $OpenBSD: reboot.8,v 1.10 1998/09/17 04:15:01 aaron Exp $ .\" $NetBSD: reboot.8,v 1.3 1995/10/05 05:36:21 mycroft Exp $ .\" .\" Copyright (c) 1990, 1991, 1993 @@ -53,42 +53,28 @@ The and .Nm reboot utilities flush the file system cache to disk, run the system -shutdown script, send all running processes a SIGTERM (and -subsequently a SIGKILL) and, respectively, halt or restart the system. +shutdown script, send all running processes a +.Dv SIGTERM +.Pq and subsequently a Dv SIGKILL , +and, respectively, halt or restart the system. The action is logged, including entering a shutdown record into the login accounting file. .Pp The options are as follows: .Bl -tag -width Ds .It Fl d -If the -.Fl d -option is specified, -system will dump crash into swap partition. +Causes system to create a dump before rebooting. +This option is useful for debugging system dump procedures or +capturing the state of a corrupted or misbehaving system. .It Fl n -If the -.Fl n -option is specified, -the file system cache is not flushed. +Prevent file system cache from being flushed. This option should probably not be used. .It Fl q -If the -.Fl q -option is specified, -the system is halted or restarted quickly and ungracefully, and only +Quick. The system is halted or restarted quickly and ungracefully, and only the flushing of the file system cache is performed. This option should probably not be used. -.It Fl d -If the -.Fl d -option is specified, -the system will create a dump before rebooting. -This option is useful for debugging system dump procedures or -capturing the state of a corrupted or misbehaving system. .It Fl p -The -.Fl p -option causes the system to power down, if it is being halted, and the +Causes the system to power down, if it is being halted, and the hardware supports automatic power down. (Currently supported on some i386 and sparc platforms.) .El @@ -98,8 +84,9 @@ Normally, the utility is used when the system needs to be halted or restarted, giving users advance warning of their impending doom. .Sh FILES -.Pa /etc/rc.shutdown -- The script which is run at shutdown time. +.Bl -width /etc/rc.shutdown -compact +/etc/rc.shutdown +script which is run at shutdown time .Sh SEE ALSO .Xr sync 8 , .Xr utmp 5 , |