]> git.ipfire.org Git - thirdparty/systemd.git/blame - udevd.8
[PATCH] add comment in wait_for_sysfs to explain the structure better.
[thirdparty/systemd.git] / udevd.8
CommitLineData
7dae391f
KS
1.TH UDEVD 8 "February 2004" "" "Linux Administrator's Manual"
2.SH NAME
9d009843 3udevd, udevdsend \- udev event serializer daemon and udev event sender
bef370d6
KS
4.SH SYNOPSIS
5.BI udevsend " hotplug-subsystem"
6.sp
7The environment must provide the following variables:
8.TP
9.B ACTION
10.IR add " or " remove
11signifies the connection or disconnection of a device.
12.TP
13.B DEVPATH
14The sysfs devpath of the device without the mountpoint but a leading slash.
15.TP
16.B SEQNUM
17The sequence number of the event provided by the kernel.
18If unset, the event bypasses the queue and will be executed immediately.
7dae391f
KS
19.SH "DESCRIPTION"
20.B udevd
21allows the serialization of
22.BR hotplug (8)
23events. The events generated by the kernel may arrive in random order
b86f56ff 24in userspace, that makes it neccessary to reorder them.
7dae391f
KS
25.br
26.B udevd
27takes care of the kernel supplied sequence number and arranges the events for
b86f56ff 28execution in the correct order. Missing sequences delay the execution of the
4ef51da9 29following events until a timeout is reached.
7dae391f
KS
30.br
31For each event a
32.BR udev (8)
33instance is executed in the background. All further events for the same device
b86f56ff
KS
34are delayed until the execution is finished. This way there will never be more
35than one instance running for a single device at the same time.
7dae391f
KS
36.br
37.B udevd
38receives the events from
39.B udevsend
40which is called by
ad63031e
KS
41.BR hotplug (8).
42If
43.B udevd
44isn't already running,
45.B udevsend
46will start it.
7dae391f 47.SH "SEE ALSO"
bef370d6
KS
48.BR udev (8),
49.BR udevinfo (8),
50.BR hotplug (8)
7dae391f
KS
51.SH AUTHORS
52.B udevd
53was developed primarily by Kay Sievers <kay.sievers@vrfy.org>, with much help
54from others.