Bug 158807 - [patch] slightly improve shutdown(8) man page
Summary: [patch] slightly improve shutdown(8) man page
Status: Closed FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Documentation (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Glen Barber
Depends on:
Reported: 2011-07-11 16:30 UTC by Alexander Best
Modified: 2011-07-22 02:01 UTC (History)
0 users

See Also:

file.diff (1.95 KB, patch)
2011-07-11 16:30 UTC, Alexander Best
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Best freebsd_committer 2011-07-11 16:30:13 UTC
While reading the shutdown(8) man page i found a couple of errors. The attached patch should take care of them.

Fix: Apply the attached patch!

Patch attached with submission follows:
Comment 1 Alexander Best freebsd_committer 2011-07-11 16:56:00 UTC
Responsible Changed
From-To: freebsd-bugs->gjb

Over to Glen, as per request.
Comment 2 Glen Barber freebsd_committer 2011-07-14 03:41:58 UTC
State Changed
From-To: open->patched

Committed to HEAD (r223991) with minor changes.  MFC in 1 week.
Comment 3 dfilter service freebsd_committer 2011-07-14 03:41:58 UTC
Author: gjb (doc committer)
Date: Thu Jul 14 02:41:45 2011
New Revision: 223991
URL: http://svn.freebsd.org/changeset/base/223991

  Improvements to the shutdown(8) manual.
  PR:		158807
  Submitted by:	arundel
  MFC after:	1 week


Modified: head/sbin/shutdown/shutdown.8
--- head/sbin/shutdown/shutdown.8	Thu Jul 14 00:15:26 2011	(r223990)
+++ head/sbin/shutdown/shutdown.8	Thu Jul 14 02:41:45 2011	(r223991)
@@ -28,7 +28,7 @@
 .\"     @(#)shutdown.8	8.2 (Berkeley) 4/27/95
 .\" $FreeBSD$
-.Dd December 30, 2010
+.Dd July 13, 2011
@@ -83,20 +83,20 @@ If one of the
 .Fl p
 .Fl r
-is specified,
+options are specified,
 will execute
 .Xr halt 8
 .Xr reboot 8
-instead of sending signal to
+instead of sending a signal to
 .Xr init 8 .
 .It Fl n
 If the
 .Fl o
-is specified, prevent the file system cache from being flushed by passing
+option is specified, prevent the file system cache from being flushed by passing
 .Fl n
-option to
 .Xr halt 8
 .Xr reboot 8 .
@@ -106,10 +106,10 @@ This option should probably not be used.
 is the time at which
 will bring the system down and
-may be the word
+may be the case-insensitive word
 .Ar now
 (indicating an immediate shutdown) or
-specify a future time in one of two formats:
+a future time in one of two formats:
 .Ar +number ,
 .Ar yymmddhhmm ,
@@ -148,7 +148,7 @@ exits.
 At shutdown time a message is written to the system log, containing the
 time of shutdown, the person who initiated the shutdown and the reason.
-Corresponding signal is then sent to
+The corresponding signal is then sent to
 .Xr init 8
 to respectively halt, reboot or bring the system down to single-user state
 (depending on the above options).
@@ -176,16 +176,18 @@ utility will place the system into singl
 .Ar time
-Calling utility as
-.Nm poweroff
-is equivalent of calling:
+.Dq Nm poweroff
+is equivalent to running:
 .Bd -literal -offset indent
 shutdown -p now
 .Bl -tag -width /var/run/nologin -compact
 .It Pa /var/run/nologin
-tells login not to let anyone log in
+.Xr login 1
+not to let anyone log in
 The hours and minutes in the second time format may be separated by
svn-src-all@freebsd.org mailing list
To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
Comment 4 Glen Barber freebsd_committer 2011-07-22 02:00:58 UTC
State Changed
From-To: patched->closed

MFCd to 8-STABLE and 7-STABLE.  Thanks!