summaryrefslogtreecommitdiff
path: root/udevd.8
blob: 52c270add8ad73f1331fce7494152234334d1387 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
.TH UDEVD 8 "February 2004" "" "Linux Administrator's Manual"
.SH NAME
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 them.
.br
.B udevd
takes care of the kernel supplied sequence number and arranges the events for
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 there will never be more
than one instance running for a single device at the same time.
.br
.B udevd
receives the events from
.B udevsend
which is called by
.BR hotplug (8).
If
.B udevd
isn't already running,
.B udevsend
will start it.
.SH "SEE ALSO"
.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
from others.