treewide: Convert more man page references to <ulink>s

This commit is contained in:
Xi Ruoyao 2024-01-28 00:18:43 +08:00
parent fedbe2f15f
commit 23b5433629
No known key found for this signature in database
GPG Key ID: ACAAD20E19E710E3
12 changed files with 45 additions and 24 deletions

View File

@ -165,7 +165,8 @@ make</userinput></screen>
<term><command>gsf</command></term>
<listitem>
<para>
is a simple archive utility, somewhat similar to tar(1)
is a simple archive utility, somewhat similar to
<ulink role='man' url='&man;tar.1'>tar(1)</ulink>
</para>
<indexterm zone="libgsf gsf">
<primary sortas="b-gsf">gsf</primary>

View File

@ -22,8 +22,9 @@
<title>Introduction to DateTime::Format::Strptime</title>
<para>
DateTime::Format::Strptime implements most of strptime(3), i.e. it takes
a string and a pattern and returns a DateTime object.
DateTime::Format::Strptime implements most of <ulink role='man'
url='&man;strptime.3'>strptime(3)</ulink>, i.e. it takes a string
and a pattern and returns a DateTime object.
</para>
&lfs120_checked;

View File

@ -22,8 +22,9 @@
<title>Introduction to Text::Glob</title>
<para>
Text::Glob implements glob(3) style matching that can be used to match
against text, rather than fetching names from a filesystem.
Text::Glob implements <ulink role='man'
url='&man;glob.3'>glob(3)</ulink> style matching that can be used to
match against text, rather than fetching names from a filesystem.
</para>
&lfs120_checked;

View File

@ -22,9 +22,13 @@
<para>
File::FcntlLock is a module to do file locking in an object oriented
fashion using the fcntl(2) system call. This allows locks on parts of
a file as well as on the whole file and overcomes some known problems
with flock(2), on which Perls flock() function is based per default.
fashion using the <ulink role='man'
url='&man;fcntl.2'>fcntl(2)</ulink> system call. This allows locks
on parts of a file as well as on the whole file and overcomes some
known problems with
<ulink role='man' url='&man;flock.2'>flock(2)</ulink>, on which
which Perl's <function>flock()</function> function is based per
default.
</para>
&lfs120_checked;

View File

@ -30,8 +30,10 @@
The <application>AccountsService</application> package provides a
set of <application>D-Bus</application> interfaces for querying
and manipulating user account information and an implementation
of those interfaces based on the usermod(8), useradd(8) and
userdel(8) commands.
of those interfaces based on the
<ulink role='man' url='&man;usermod.8'>usermod(8)</ulink>,
<ulink role='man' url='&man;useradd.8'>useradd(8)</ulink>, and
<ulink role='man' url='&man;userdel.8'>userdel(8)</ulink> commands.
</para>
&lfs120_checked;

View File

@ -308,8 +308,9 @@ EOF</userinput></screen>
<para>
This package could also be used to mount SMB shares, however that
feature is not configured in these instructions. For additional
configuration information, see the man pages for auto.master(5). There
are also web resources such as this <ulink
configuration information, see the man pages for
<ulink role='man' url='&man;auto.master.5'>auto.master(5)</ulink>.
There are also web resources such as this <ulink
url='https://wiki.gentoo.org/wiki/AutoFS'>AUTOFS
HOWTO</ulink> available.
</para>

View File

@ -172,7 +172,8 @@ make</userinput></screen>
its contents are created when you start <command>mc</command> for the
first time. Then you can edit the main <filename>~/.config/mc/ini
</filename> configuration file manually or through the <application>
MC</application> shell. Consult the mc(1) man page for details.
MC</application> shell. Consult the <ulink role='man'
url='&man;mc.1'>mc(1)</ulink> man page for details.
</para>
</sect3>

View File

@ -207,7 +207,8 @@ ln -sv pm-action.8 /usr/share/man/man8/pm-suspend-hybrid.8</userinput></screen>
state or resumed. Default hooks are located in <filename
class="directory">/usr/lib/pm-utils/sleep.d</filename>, and user hooks
should be put in <filename class="directory">/etc/pm/sleep.d</filename>.
See the pm-action(8) man page for more information.
See the <ulink role='man' url='&man;pm-action.8'>pm-action(8)</ulink>
man page for more information.
</para>
<para>

View File

@ -252,7 +252,9 @@ make</userinput></screen>
<listitem>
<para>
mounts a Linux CIFS filesystem. It is usually invoked
indirectly by the mount(8) command when using the "-t cifs" option
indirectly by the <ulink role='man'
url='&man;mount.8'>mount(8)</ulink> command when using the
<option>-t cifs</option> option
</para>
<indexterm zone="cifsutils mount.cifs">
<primary sortas="b-mount.cifs">mount.cifs</primary>
@ -265,7 +267,9 @@ make</userinput></screen>
<listitem>
<para>
mounts a SMB3-based filesystem. It is usually invoked
indirectly by the mount(8) command when using the "-t smb3" option
indirectly by the <ulink role='man'
url='&man;mount.8'>mount(8)</ulink> command when using the
<option>-t smb3</option> option
</para>
<indexterm zone="cifsutils mount.smb3">
<primary sortas="b-mount.smb3">mount.smb3</primary>

View File

@ -187,7 +187,8 @@ install -v -m644 dox/html/* /usr/share/doc/rsync-&rsync-version;/api</userinput
<para>
This is a simple download-only configuration to set up running
<command>rsync</command> as a server. See the rsyncd.conf(5)
<command>rsync</command> as a server. See the <ulink role='man'
url='&man;rsyncd.conf.5'>rsyncd.conf(5)</ulink>
man-page for additional options (i.e., user authentication).
</para>

View File

@ -156,9 +156,10 @@ mount /dev/lfs-lvm/mysql /srv/mysql</userinput></screen>
If not using an initramfs, there is a race condition in <application>
systemd</application> preventing mounting logical volumes through
<filename>/etc/fstab</filename>. You must create a <quote>mount</quote>
unit (see systemd.mount(5)) as in the following example, which mounts
the <filename class="directory">/home</filename> directory automatically
at boot:
unit (see <ulink role='man'
url='&man;systemd.mount.5'>systemd.mount(5)</ulink>) as in the following
example, which mounts the <filename class="directory">/home</filename>
directory automatically at boot:
</para>
<screen role="root" revision="systemd"><userinput>cat &gt; /etc/systemd/system/home.mount &lt;&lt; EOF

View File

@ -231,7 +231,7 @@ cp -vfr doc/{drafts,rfc,guide} \
<para>
<parameter>--enable-crypt</parameter>: This switch enables using
<command>crypt(3)</command> passwords.
<ulink role='man' url='&man;crypt.3'>crypt(3)</ulink> passwords.
</para>
<para>
@ -407,13 +407,16 @@ cp -vfr doc/{drafts,rfc,guide} \
<itemizedlist spacing="compact">
<listitem>
<para>
The <emphasis role="strong">slapd(8)</emphasis> man page.
The <ulink role='man' url='&man;slapd.8'>slapd(8)</ulink> man
page.
</para>
</listitem>
<listitem>
<para>
The <emphasis role="strong">slapd.conf(5)</emphasis> and
<emphasis role="strong">slapd-config(5)</emphasis> man pages.
The <ulink role='man'
url='&man;slapd.conf.5'>slapd.conf(5)</ulink> and
<ulink role='man'
url='&man;slapd-config.5'>slapd-config(5)</ulink> man pages.
</para>
</listitem>
<listitem>