chiark / gitweb /
[PATCH] fix stupid off-by-one bug that caused udevstart to die on x86-64 boxes.
[elogind.git] / udevd.8
diff --git a/udevd.8 b/udevd.8
index 59dc0206c242f1bd0661e864d9dcdbc275e0ce89..52c270add8ad73f1331fce7494152234334d1387 100644 (file)
--- a/udevd.8
+++ b/udevd.8
@@ -3,24 +3,38 @@
 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
 .BR hotplug (8)
 events. The events generated by the kernel may arrive in random order
-in userspace, that makes it neccessary to reorder it.
+in userspace, that makes it neccessary to reorder them.
 .br
 .B udevd
 takes care of the kernel supplied sequence number and arranges the events for
-execution in the correct order. Missing sequences are delaying the
-execution of the following events until a timeout of a maximum of 5 seconds
-is reached.
+execution in the correct order. Missing sequences delay the execution of the
+following events until a timeout is reached.
 .br
 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
-than one instance for a single device at the same time.
+are delayed until the execution is finished. This way there will never be more
+than one instance running for a single device at the same time.
 .br
 .B udevd
 receives the events from
@@ -33,7 +47,9 @@ isn't already running,
 .B udevsend
 will start it.
 .SH "SEE ALSO"
-.BR udev (8), hotplug (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