chiark / gitweb /
[PATCH] udev - man page update
[elogind.git] / udevd.8
diff --git a/udevd.8 b/udevd.8
index 401e9b2ade280b891acfab566e82e926b17efae5..30adb94f2b358fee397cd428baab9c7b34274437 100644 (file)
--- a/udevd.8
+++ b/udevd.8
@@ -3,6 +3,21 @@
 udevd \- udev event serializer daemon
 .br
 udevsend \- sends the event to udevd
 udevd \- udev event serializer daemon
 .br
 udevsend \- sends the event to udevd
+.SH SYNOPSIS
+.BI udevsend " hotplug-subsystem"
+.sp
+The environment must provide the following variables:
+.TP
+.B ACTION
+.IR add " or " remove
+signifies the connection or disconnection of a device.
+.TP
+.B DEVPATH
+The sysfs devpath of the device without the mountpoint but a leading slash.
+.TP
+.B SEQNUM
+The sequence number of the event provided by the kernel.
+If unset, the event bypasses the queue and will be executed immediately.
 .SH "DESCRIPTION"
 .B udevd
 allows the serialization of
 .SH "DESCRIPTION"
 .B udevd
 allows the serialization of
@@ -20,16 +35,22 @@ For each event a
 .BR udev (8)
 instance is executed in the background. All further events for the same device
 are delayed until the execution is finished. This way it will never run more
 .BR udev (8)
 instance is executed in the background. All further events for the same device
 are delayed until the execution is finished. This way it will never run more
-than one instance for a single device.
+than one instance for a single device at the same time.
 .br
 .B udevd
 receives the events from
 .B udevsend
 which is called by
 .br
 .B udevd
 receives the events from
 .B udevsend
 which is called by
-.BR hotplug (8)
-
+.BR hotplug (8).
+If
+.B udevd
+isn't already running,
+.B udevsend
+will start it.
 .SH "SEE ALSO"
 .SH "SEE ALSO"
-.BR udev (8)
+.BR udev (8),
+.BR udevinfo (8),
+.BR hotplug (8)
 .SH AUTHORS
 .B udevd
 was developed primarily by Kay Sievers <kay.sievers@vrfy.org>, with much help
 .SH AUTHORS
 .B udevd
 was developed primarily by Kay Sievers <kay.sievers@vrfy.org>, with much help