svn commit: r214132 - in head: lib/libc/sys sbin/fsirand sbin/ipfw sbin/restore share/man/man4 share/man/man5 share/man/man9 usr.bin/mesg usr.sbin/mtest

Ulrich Spoerlein uqs at FreeBSD.org
Thu Oct 21 12:27:14 UTC 2010


Author: uqs
Date: Thu Oct 21 12:27:13 2010
New Revision: 214132
URL: http://svn.freebsd.org/changeset/base/214132

Log:
  mdoc: make pages render with mandoc
  
  It's a bit more pedantic regarding .Bl list elements. This has an added
  benefit of unbreaking the ipfw(8) manpage, where groff was silently
  skipping one list element.

Modified:
  head/lib/libc/sys/getpriority.2
  head/lib/libc/sys/pathconf.2
  head/lib/libc/sys/stat.2
  head/sbin/fsirand/fsirand.8
  head/sbin/ipfw/ipfw.8
  head/sbin/restore/restore.8
  head/share/man/man4/iscsi_initiator.4
  head/share/man/man5/elf.5
  head/share/man/man9/sysctl_add_oid.9
  head/usr.bin/mesg/mesg.1
  head/usr.sbin/mtest/mtest.8

Modified: head/lib/libc/sys/getpriority.2
==============================================================================
--- head/lib/libc/sys/getpriority.2	Thu Oct 21 10:46:18 2010	(r214131)
+++ head/lib/libc/sys/getpriority.2	Thu Oct 21 12:27:13 2010	(r214132)
@@ -129,10 +129,10 @@ or
 .Dv PRIO_USER .
 .El
 .Pp
-.Bl -tag -width Er
 In addition to the errors indicated above,
 .Fn setpriority
 will fail if:
+.Bl -tag -width Er
 .It Bq Er EPERM
 A process was located, but neither its effective nor real user
 ID matched the effective user ID of the caller.

Modified: head/lib/libc/sys/pathconf.2
==============================================================================
--- head/lib/libc/sys/pathconf.2	Thu Oct 21 10:46:18 2010	(r214131)
+++ head/lib/libc/sys/pathconf.2	Thu Oct 21 12:27:13 2010	(r214132)
@@ -89,7 +89,6 @@ returns information about the file the l
 The available values are as follows:
 .Pp
 .Bl -tag -width 6n
-.Pp
 .It Li _PC_LINK_MAX
 The maximum file link count.
 .It Li _PC_MAX_CANON
@@ -234,11 +233,11 @@ Too many symbolic links were encountered
 An I/O error occurred while reading from or writing to the file system.
 .El
 .Pp
-.Bl -tag -width Er
 The
 .Fn fpathconf
 system call
 will fail if:
+.Bl -tag -width Er
 .It Bq Er EBADF
 The
 .Fa fd

Modified: head/lib/libc/sys/stat.2
==============================================================================
--- head/lib/libc/sys/stat.2	Thu Oct 21 10:46:18 2010	(r214131)
+++ head/lib/libc/sys/stat.2	Thu Oct 21 12:27:13 2010	(r214132)
@@ -345,10 +345,10 @@ represented correctly in the structure p
 .Fa sb .
 .El
 .Pp
-.Bl -tag -width Er
 The
 .Fn fstat
 system call will fail if:
+.Bl -tag -width Er
 .It Bq Er EBADF
 The
 .Fa fd

Modified: head/sbin/fsirand/fsirand.8
==============================================================================
--- head/sbin/fsirand/fsirand.8	Thu Oct 21 10:46:18 2010	(r214131)
+++ head/sbin/fsirand/fsirand.8	Thu Oct 21 12:27:13 2010	(r214132)
@@ -73,8 +73,8 @@ The
 utility may be used on the root file system in single-user mode
 but the system should be rebooted via ``reboot -n'' afterwards.
 .Sh OPTIONS
-.Bl -tag -width indent
 The available options are as follows:
+.Bl -tag -width indent
 .It Fl b
 Use the default block size (usually 512 bytes) instead
 of the value gleaned from the disklabel.

Modified: head/sbin/ipfw/ipfw.8
==============================================================================
--- head/sbin/ipfw/ipfw.8	Thu Oct 21 10:46:18 2010	(r214131)
+++ head/sbin/ipfw/ipfw.8	Thu Oct 21 12:27:13 2010	(r214132)
@@ -1009,11 +1009,11 @@ The second format
 with multiple addresses) is provided for convenience only and
 its use is discouraged.
 .It Ar addr : Oo Cm not Oc Bro
-.Bl -tag -width indent
 .Cm any | me | me6 |
 .Cm table Ns Pq Ar number Ns Op , Ns Ar value
 .Ar | addr-list | addr-set
 .Brc
+.Bl -tag -width indent
 .It Cm any
 matches any IP address.
 .It Cm me
@@ -2176,7 +2176,6 @@ Finally, the following parameters can be
 pipes and queues:
 .Pp
 .Bl -tag -width XXXX -compact
-.Pp
 .It Cm buckets Ar hash-table-size
 Specifies the size of the hash table used for storing the
 various queues.

Modified: head/sbin/restore/restore.8
==============================================================================
--- head/sbin/restore/restore.8	Thu Oct 21 10:46:18 2010	(r214131)
+++ head/sbin/restore/restore.8	Thu Oct 21 12:27:13 2010	(r214132)
@@ -412,7 +412,6 @@ Most checks are self-explanatory or can 
 Common errors are given below.
 .Pp
 .Bl -tag -width Ds -compact
-.Pp
 .It <filename>: not found on tape
 The specified file name was listed in the tape directory,
 but was not found on the tape.

Modified: head/share/man/man4/iscsi_initiator.4
==============================================================================
--- head/share/man/man4/iscsi_initiator.4	Thu Oct 21 10:46:18 2010	(r214131)
+++ head/share/man/man4/iscsi_initiator.4	Thu Oct 21 12:27:13 2010	(r214132)
@@ -90,8 +90,8 @@ see
 The 
 .Nm
 driver creates the following:
-.Bl -tag -width ".Pa /dev/iscsi%dxx" -compact
 .Pp
+.Bl -tag -width ".Pa /dev/iscsi%dxx" -compact
 .It Pa /dev/iscsi
 used to create new sessions.
 .It Pa /dev/iscsi%d

Modified: head/share/man/man5/elf.5
==============================================================================
--- head/share/man/man5/elf.5	Thu Oct 21 10:46:18 2010	(r214131)
+++ head/share/man/man5/elf.5	Thu Oct 21 12:27:13 2010	(r214132)
@@ -462,8 +462,8 @@ member in the total struct.
 .It Dv p_type
 This member of the Phdr struct tells what kind of segment this array
 element describes or how to interpret the array element's information.
-.Bl -tag -width "PT_DYNAMIC" -compact
 .Pp
+.Bl -tag -width "PT_DYNAMIC" -compact
 .It Dv PT_NULL
 The array element is unused and the other members' values are undefined.
 This lets the program header have ignored entries.

Modified: head/share/man/man9/sysctl_add_oid.9
==============================================================================
--- head/share/man/man9/sysctl_add_oid.9	Thu Oct 21 10:46:18 2010	(r214131)
+++ head/share/man/man9/sysctl_add_oid.9	Thu Oct 21 12:27:13 2010	(r214132)
@@ -411,8 +411,8 @@ and to delete them later in orderly fash
 .Pp
 There is a set of macros defined
 that helps to create oids of given type.
-.Bl -tag -width SYSCTL_ADD_STRINGXX
 They are as follows:
+.Bl -tag -width SYSCTL_ADD_STRINGXX
 .It Fn SYSCTL_ADD_OID
 creates a raw oid.
 This macro is functionally equivalent to the

Modified: head/usr.bin/mesg/mesg.1
==============================================================================
--- head/usr.bin/mesg/mesg.1	Thu Oct 21 10:46:18 2010	(r214131)
+++ head/usr.bin/mesg/mesg.1	Thu Oct 21 12:27:13 2010	(r214132)
@@ -70,8 +70,8 @@ displays the present message status to t
 The
 .Nm
 utility exits with one of the following values:
-.Bl -tag -width flag -compact -offset indent
 .Pp
+.Bl -tag -width flag -compact -offset indent
 .It Li "\ 0"
 Messages are allowed.
 .It Li "\ 1"

Modified: head/usr.sbin/mtest/mtest.8
==============================================================================
--- head/usr.sbin/mtest/mtest.8	Thu Oct 21 10:46:18 2010	(r214131)
+++ head/usr.sbin/mtest/mtest.8	Thu Oct 21 12:27:13 2010	(r214132)
@@ -42,8 +42,8 @@ is a small program for testing multicast
 .Pp
 It accepts the following commands, interactively, or as part of a scripted
 input file (useful for automated testing):
-.Bl -tag -width "a ifname e.e.e.e e.e.e.e" -compact -offset indent
 .Pp
+.Bl -tag -width "a ifname e.e.e.e e.e.e.e" -compact -offset indent
 .\"
 .It Ic a Ar ifname Ar mac-addr
 Join the link-layer group address


More information about the svn-src-head mailing list