]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
docs: try to find broken man references and fix them
authorSami Kerola <kerolasa@iki.fi>
Sat, 24 Aug 2019 21:34:16 +0000 (22:34 +0100)
committerSami Kerola <kerolasa@iki.fi>
Mon, 26 Aug 2019 18:43:40 +0000 (19:43 +0100)
Unfortunately methods I used to find and fix were based on quite manual
process that cannot be easily repeated so I do not see how this fix could be
turned into a tools/checkmans.sh addition.  Well, lets hope doing this
manually twice every decade is good enough.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
19 files changed:
disk-utils/fdisk.8
disk-utils/fsck.8
disk-utils/sfdisk.8
misc-utils/fincore.1
misc-utils/mcookie.1
sys-utils/adjtime_config.5
sys-utils/fstab.5
sys-utils/hwclock.8.in
sys-utils/mount.8
sys-utils/prlimit.1
sys-utils/renice.1
sys-utils/setarch.8
sys-utils/swapon.8
term-utils/script.1
term-utils/setterm.1
text-utils/colrm.1
text-utils/line.1
text-utils/pg.1
text-utils/ul.1

index a674f9ee581d7f40ee71bac89f975538b3eb5f2e..364451711eb497ae6edc76d106fa932067932f82 100644 (file)
@@ -94,7 +94,7 @@ specified in the format \fI+list\fP (e.g. \fB-o +UUID\fP).
 \fB\-s\fR, \fB\-\-getsz\fR
 Print the size in 512-byte sectors of each given block device.  This option is DEPRECATED
 in favour of
-.BR blockdev (1).
+.BR blockdev (8).
 .TP
 \fB\-t\fR, \fB\-\-type\fR \fItype\fR
 Enable support only for disklabels of the specified \fItype\fP, and disable
index a4970e40cabdccbc0e3d5092d7dba9b0e2dfd828..bbbbc71611acafb24b1cdbae268905790f8902a9 100644 (file)
@@ -397,7 +397,7 @@ or
 .BR fsck.ext3 (8)
 or
 .BR e2fsck (8),
-.BR cramfsck (8),
+.BR fsck.cramfs (8),
 .BR fsck.jfs (8),
 .BR fsck.nfs (8),
 .BR fsck.minix (8),
index c7630bb376ea2a0ece770256ff868123e863941f..0f8a1dfc7b5ba218bb51c788711107c32f4777d7 100644 (file)
@@ -157,7 +157,7 @@ Renumber the partitions, ordering them by their start offset.
 .BR \-s , " \-\-show\-size " [ \fIdevice ...]
 List the sizes of all or the specified devices in units of 1024 byte size.
 This command is DEPRECATED in favour of
-.BR blockdev (1).
+.BR blockdev (8).
 .TP
 .BR \-T , " \-\-list\-types"
 Print all supported types for the current disk label or the label specified by
index 97c134bbb371ccdead2382f930aefa7c220528fd..ce4d37d2864a82d1f530c4d32516b4bbd3ce15a7 100644 (file)
@@ -54,7 +54,7 @@ Masatake YAMATO
 .SH "SEE ALSO"
 .BR mincore (2),
 .BR getpagesize (2),
-.BR getconf (1)
+.BR getconf (1p)
 .SH AVAILABILITY
 The fincore command is part of the util-linux package and is available from
 .UR https://\:www.kernel.org\:/pub\:/linux\:/utils\:/util-linux/
index 1ac50ef139e0a2eb864d46a9b017964c8a1e9841..73be11ab5ef24b6ae64fcca7583c9eacf09f5fc6 100644 (file)
@@ -59,7 +59,7 @@ It is assumed that none of the randomness sources will block.
 .I /dev/random
 .SH "SEE ALSO"
 .BR md5sum (1),
-.BR X (1),
+.BR X (7),
 .BR xauth (1),
 .BR rand (3)
 .SH AVAILABILITY
index 6f03ca7309d15d15c2396bacbb24dda8c96937e8..03bf27a6f9103a592559a3acfb2ca61447d9b710 100644 (file)
@@ -20,7 +20,7 @@ The Hardware Clock is usually not very accurate.  However, much of its inaccurac
 or loses the same amount of time every day.  This is called systematic drift.  The util hwclock keeps the file /etc/adjtime,
 that keeps some historical information.
 For more details see "\fBThe Adjust Function\fR" and  "\fBThe Adjtime File\fR" sections from
-.BR hwckock (8)
+.BR hwclock (8)
 man page.
 .PP
 
index a9e9f8c54dacfa410066d746fa03f2b7ac236d1e..1c0bed7433687f092595b08d58d697eab8292ae5 100644 (file)
@@ -73,7 +73,7 @@ remote filesystem to be mounted.
 .LP
 For ordinary mounts, it will hold (a link to) a block special
 device node (as created by
-.BR mknod (8))
+.BR mknod (2))
 for the device to be mounted, like `/dev/cdrom' or `/dev/sdb7'.
 For NFS mounts, this field is <host>:<dir>, e.g., `knuth.aeb.nl:/'.
 For filesystems with no storage, any string can be used, and will show up in
index dacdd272f1f76cbff0c6b0d66c43967e5c606974..6c3a2e6ac8d225667fa785be0831ae0a058003d0 100644 (file)
@@ -810,7 +810,7 @@ and a precision timepiece, and then calculate the correction manually.
 .PP
 After setting the tick and frequency values, continue to test and refine the
 adjustments until the System Clock keeps good time.  See
-.BR \%adjtimex (8)
+.BR \%adjtimex (2)
 for more information and the example demonstrating manual drift
 calculations.
 .PP
@@ -983,7 +983,7 @@ may try for Hardware Clock access:
 .BR adjtimex (8),
 .BR gettimeofday (2),
 .BR settimeofday (2),
-.BR crontab (1),
+.BR crontab (1p),
 .BR tzset (3)
 .
 .SH AUTHORS
index 56d3520be389bbdf1905ce95c28f704b783d9837..0583c225c89ea3a99a02cc0c6fa5d80565b1c013 100644 (file)
@@ -2032,7 +2032,7 @@ utility which can be obtained from
 .TP
 .B user_xattr
 Enable Extended User Attributes.  See the
-.BR attr (5)
+.BR attr (1)
 manual page.
 .TP
 .B acl
index 1230b3ad8563056a7947edf3c9c6322df1565209..86d3e21232d28ee29dc34742d0b54b9177aadf29 100644 (file)
@@ -104,7 +104,7 @@ processes to unlimited.
 Set both the soft and hard CPU time limit to ten seconds and run 'sort'.
 
 .SH "SEE ALSO"
-.BR ulimit (1),
+.BR ulimit (1p),
 .BR prlimit (2)
 
 .SH NOTES
index 6b735faf6f134c1eaaa240d2187f6a65811cb8a2..513d984227b442d88c7b93aa355319887cfa57d0 100644 (file)
@@ -89,7 +89,7 @@ own.  Furthermore, an unprivileged user can only
 the ``nice value'' (i.e., choose a lower priority)
 and such changes are irreversible unless (since Linux 2.6.12)
 the user has a suitable ``nice'' resource limit (see
-.BR ulimit (1)
+.BR ulimit (1p)
 and
 .BR getrlimit (2)).
 
index efa3d508816f9ccbc32423e70d99604e2a1dba12..e59921476ec49733646fbe8d8d150c19850cd3e7 100644 (file)
@@ -95,14 +95,14 @@ manual page.  Turns on STICKY_TIMEOUTS.
 .TP
 \fB\-X\fR, \fB\-\-read\-implies\-exec\fR
 If this is set then
-.BR mmap (3)
+.BR mmap (3p)
 PROT_READ will also add the PROT_EXEC bit - as expected by legacy x86
 binaries.  Notice that the ELF loader will automatically set this bit when
 it encounters a legacy binary.  Turns on READ_IMPLIES_EXEC.
 .TP
 \fB\-Z\fR, \fB\-\-mmap\-page\-zero\fR
 SVr4 bug emulation that will set
-.BR mmap (3)
+.BR mmap (3p)
 page zero as read-only.  Use when
 .I program
 depends on this behavior, and the source code is not available to be fixed.
index d01f681f858e0c30ede7ec9b16ce098f4daa9d11..1b82fa5e69304d79d9fcef44353c4c9bec447b98 100644 (file)
@@ -110,7 +110,7 @@ may also be used to skip non-existing device.
 .BR \-f , " \-\-fixpgsz"
 Reinitialize (exec mkswap) the swap space if its page size does not
 match that of the current running kernel.
-.BR mkswap (2)
+.BR mkswap (8)
 initializes the whole device and does not check for bad blocks.
 .TP
 .BR \-h , " \-\-help"
index 0fb4c4fd7c630d0a43a32b6c5d068c5c725aa4c9..02ca31373acaef76d48c6644c01e77ab4e90f97a 100644 (file)
@@ -116,7 +116,7 @@ Display help text and exit.
 The script ends when the forked shell exits (a
 .I control-D
 for the Bourne shell
-.RB ( sh (1)),
+.RB ( sh (1p)),
 and
 .IR exit ,
 .I logout
index c5eabc967ca8c4092a980967dfe552b1452545f3..1685657b2303f68c188770825f8ca04994f24391 100644 (file)
@@ -232,7 +232,7 @@ its power-on state.
 Reset terminal size by assessing maximum row and column.  This is useful
 when actual geometry and kernel terminal driver are not in sync.  Most
 notable use case is with serial consoles, that do not use
-.BR ioctl (3)
+.BR ioctl (3p)
 but just byte streams and breaks.
 .TP
 \fB\-\-reverse\fP [\fBon\fP|\fBoff\fP]
index 2c50f9ab94e6eb6aecea399d4cdb541e80e4c7be..4950f28850b651b8b846264794d559b09a7301e6 100644 (file)
@@ -60,7 +60,7 @@ Display version information and exit.
 \fB\-h\fR, \fB\-\-help\fR
 Display help text and exit.
 .SH SEE ALSO
-.BR awk (1),
+.BR awk (1p),
 .BR column (1),
 .BR expand (1),
 .BR paste (1)
index 08236e2f8aaa58b02983b1eb0be11cc679fefbbf..5620cc0a11f69909471ce8573e9126a4cc538fa3 100644 (file)
@@ -11,7 +11,7 @@ copies one line (up to a newline) from standard input to standard output.
 It always prints at least a newline and returns an exit status of 1
 on EOF or read error.
 .SH "SEE ALSO"
-.BR read (1)
+.BR read (1p)
 .SH AVAILABILITY
 The line command is part of the util-linux package and is available from
 https://www.kernel.org/pub/linux/utils/util-linux/.
index 901ac7d91f328b0e8c610da2aed80d849b93a813..7d2e1317f3585551649f1263d7d219e3070a606b 100644 (file)
@@ -220,7 +220,7 @@ Determines the terminal type.
 .SH "SEE ALSO"
 .BR cat (1),
 .BR more (1),
-.BR sh (1),
+.BR sh (1p),
 .BR terminfo (5),
 .BR locale (7),
 .BR regex (7),
index 64f7f8d9a050459d0aed12de51f03f0c4ae5c45f..172844ce11f5b62a22f9683961dcf37bcd49a118 100644 (file)
@@ -89,13 +89,13 @@ is set at login time, either by the default terminal type specified in
 or as set during the login process by the user in their
 .B login
 file (see
-.BR setenv (1)).
+.BR setenv (3)).
 .SH SEE ALSO
 .BR colcrt (1),
 .BR login (1),
 .BR man (1),
 .BR nroff (1),
-.BR setenv (1),
+.BR setenv (3),
 .BR terminfo (5)
 .SH BUGS
 .B nroff