man: refer to udevd by its service name not binary name

Since the binary name is now hidden away in /usr/lib/ the primary user
handle for the udev service is the unit name, hence change the man page
to be available under the unit name, and make the binary name an alias
for it.
This commit is contained in:
Lennart Poettering 2012-06-22 10:38:40 +02:00
parent 9473414219
commit b79f817b1b
9 changed files with 18 additions and 15 deletions

View File

@ -1424,6 +1424,9 @@ libudev_private_la_LIBADD = \
MANPAGES += \
man/udev.7 \
man/udevadm.8 \
man/systemd-udevd.service.8
MANPAGES_ALIAS += \
man/systemd-udevd.8
udev-confdirs:

View File

@ -24,12 +24,16 @@
</refmeta>
<refnamediv>
<refname>systemd-udevd</refname><refpurpose>event managing daemon</refpurpose>
<refname>systemd-udevd.service</refname>
<refname>systemd-udevd</refname>
<refpurpose>Device event managing daemon</refpurpose>
</refnamediv>
<refsynopsisdiv>
<para><filename>systemd-logind.service</filename></para>
<cmdsynopsis>
<command>systemd-udevd</command>
<command>/usr/lib/systemd/systemd-udevd</command>
<arg><option>--daemon</option></arg>
<arg><option>--debug</option></arg>
<arg><option>--children-max=</option></arg>
@ -38,6 +42,7 @@
<arg><option>--version</option></arg>
<arg><option>--help</option></arg>
</cmdsynopsis>
</refsynopsisdiv>
<refsect1><title>Description</title>

View File

@ -41,7 +41,7 @@
names provide a way to reliably identify devices based on their properties or
current configuration.</para>
<para>The udev daemon, <citerefentry><refentrytitle>systemd-udevd</refentrytitle>
<para>The udev daemon, <citerefentry><refentrytitle>systemd-udevd.service</refentrytitle>
<manvolnum>8</manvolnum></citerefentry>, receives device uevents directly from
the kernel whenever a device is added or removed from the system, or it changes its
state. When udev receives a device event, it matches its configured set of rules
@ -691,7 +691,7 @@
<refsect1>
<title>See Also</title>
<para><citerefentry>
<refentrytitle>systemd-udevd</refentrytitle><manvolnum>8</manvolnum>
<refentrytitle>systemd-udevd.service</refentrytitle><manvolnum>8</manvolnum>
</citerefentry>,
<citerefentry>
<refentrytitle>udevadm</refentrytitle><manvolnum>8</manvolnum>

View File

@ -463,7 +463,7 @@
<refentrytitle>udev</refentrytitle><manvolnum>7</manvolnum>
</citerefentry>
<citerefentry>
<refentrytitle>systemd-udevd</refentrytitle><manvolnum>8</manvolnum>
<refentrytitle>systemd-udevd.service</refentrytitle><manvolnum>8</manvolnum>
</citerefentry></para>
</refsect1>
</refentry>

View File

@ -7,8 +7,7 @@
[Unit]
Description=udev Control Socket
Documentation=man:udev(7)
Documentation=man:systemd-udevd(8)
Documentation=man:udev(7) man:systemd-udevd.service(8)
DefaultDependencies=no
ConditionCapability=CAP_MKNOD

View File

@ -7,8 +7,7 @@
[Unit]
Description=udev Kernel Socket
Documentation=man:udev(7)
Documentation=man:systemd-udevd(8)
Documentation=man:udev(7) man:systemd-udevd.service(8)
DefaultDependencies=no
ConditionCapability=CAP_MKNOD

View File

@ -17,8 +17,7 @@
[Unit]
Description=udev Wait for Complete Device Initialization
Documentation=man:udev(7)
Documentation=man:systemd-udevd(8)
Documentation=man:udev(7) man:systemd-udevd.service(8)
DefaultDependencies=no
Wants=systemd-udev.service
After=systemd-udev-trigger.service

View File

@ -7,8 +7,7 @@
[Unit]
Description=udev Coldplug all Devices
Documentation=man:udev(7)
Documentation=man:systemd-udevd(8)
Documentation=man:udev(7) man:systemd-udevd.service(8)
Wants=systemd-udev.service
After=systemd-udev-kernel.socket systemd-udev-control.socket
DefaultDependencies=no

View File

@ -7,8 +7,7 @@
[Unit]
Description=udev Kernel Device Manager
Documentation=man:udev(7)
Documentation=man:systemd-udevd(8)
Documentation=man:udev(7) man:systemd-udevd.service(8)
Wants=systemd-udev-control.socket systemd-udev-kernel.socket
After=systemd-udev-control.socket systemd-udev-kernel.socket
Before=basic.target