chiark / gitweb /
man: refer to udevd by its service name not binary name
authorLennart Poettering <lennart@poettering.net>
Fri, 22 Jun 2012 08:38:40 +0000 (10:38 +0200)
committerLennart Poettering <lennart@poettering.net>
Fri, 22 Jun 2012 08:38:40 +0000 (10:38 +0200)
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.

Makefile.am
man/systemd-udevd.service.xml [moved from man/systemd-udevd.xml with 95% similarity]
man/udev.xml
man/udevadm.xml
units/systemd-udev-control.socket
units/systemd-udev-kernel.socket
units/systemd-udev-settle.service.in
units/systemd-udev-trigger.service.in
units/systemd-udev.service.in

index 69a842b..e1e02b7 100644 (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:
similarity index 95%
rename from man/systemd-udevd.xml
rename to man/systemd-udevd.service.xml
index 79f917e..09b4744 100644 (file)
   </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>
index bd0dec6..b5c7cd4 100644 (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
   <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>
index d0cd922..b46a5f5 100644 (file)
         <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>
index 5b25e06..e835ab6 100644 (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
 
index 68c23a6..321dd46 100644 (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
 
index 2c4c129..004b316 100644 (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
index 2f34d53..9d3f43e 100644 (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
index a78dc8b..f02c602 100644 (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