summaryrefslogtreecommitdiffstats
path: root/sbin/reboot/reboot.8
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>1998-07-15 06:51:38 +0000
committercharnier <charnier@FreeBSD.org>1998-07-15 06:51:38 +0000
commitc4fa54fec2bb8f4f294b0569acc334b431c530e8 (patch)
treefd8123d03e64d7016cc6adc0fa0e1a788a2b9f80 /sbin/reboot/reboot.8
parent259a90a05b5995a148aa435efc140c260cb2696b (diff)
downloadFreeBSD-src-c4fa54fec2bb8f4f294b0569acc334b431c530e8.zip
FreeBSD-src-c4fa54fec2bb8f4f294b0569acc334b431c530e8.tar.gz
Correct use of .Nm. Add rcsid. -Wall. Add -p flag in usage string (was missing).
Diffstat (limited to 'sbin/reboot/reboot.8')
-rw-r--r--sbin/reboot/reboot.827
1 files changed, 10 insertions, 17 deletions
diff --git a/sbin/reboot/reboot.8 b/sbin/reboot/reboot.8
index 6252093..c43c5f1 100644
--- a/sbin/reboot/reboot.8
+++ b/sbin/reboot/reboot.8
@@ -30,6 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)reboot.8 8.1 (Berkeley) 6/9/93
+.\" $Id$
.\"
.Dd June 9, 1993
.Dt REBOOT 8
@@ -52,7 +53,7 @@ stopping and restarting the system
The
.Nm halt
and
-.Nm reboot
+.Nm
utilities flush the file system cache to disk, send all running processes
a SIGTERM (and subsequently a SIGKILL) and, respectively, halt or restart
the system.
@@ -60,28 +61,20 @@ The action is logged, including entering a shutdown record into the login
accounting file.
.Pp
The options are as follows:
-.Bl -tag -width Ds
+.Bl -tag -width indent
.It Fl n
-If the
-.Fl n
-option is specified,
-the file system cache is not flushed.
+The file system cache is not 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
+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 p
-If the
-.Fl p
-option is specified, then the system will turn off the power
+The system will turn off the power
if it can. This is of course likely to make
-.Nm reboot
+.Nm
rather similar to
-.Nm halt.
+.Nm halt .
.El
.Pp
The
@@ -91,7 +84,7 @@ and
utilities are nothing more than aliases for the
.Nm halt
and
-.Nm reboot
+.Nm
utilities.
.Pp
Normally, the
@@ -105,6 +98,6 @@ users advance warning of their impending doom.
.Xr sync 8
.Sh HISTORY
A
-.Nm reboot
+.Nm
command appeared in
.At v6 .
OpenPOWER on IntegriCloud