2004-02-18 09:17:50 +07:00
|
|
|
.TH UDEVD 8 "February 2004" "" "Linux Administrator's Manual"
|
|
|
|
.SH NAME
|
2004-08-11 15:03:06 +07:00
|
|
|
udevd, udevdsend \- udev event serializer daemon and udev event sender
|
2004-02-27 10:39:33 +07:00
|
|
|
.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.
|
2004-02-18 09:17:50 +07:00
|
|
|
.SH "DESCRIPTION"
|
|
|
|
.B udevd
|
|
|
|
allows the serialization of
|
|
|
|
.BR hotplug (8)
|
|
|
|
events. The events generated by the kernel may arrive in random order
|
2004-03-10 10:50:30 +07:00
|
|
|
in userspace, that makes it neccessary to reorder them.
|
2004-02-18 09:17:50 +07:00
|
|
|
.br
|
|
|
|
.B udevd
|
|
|
|
takes care of the kernel supplied sequence number and arranges the events for
|
2004-03-10 10:50:30 +07:00
|
|
|
execution in the correct order. Missing sequences delay the execution of the
|
2004-04-03 07:58:59 +07:00
|
|
|
following events until a timeout is reached.
|
2004-02-18 09:17:50 +07:00
|
|
|
.br
|
|
|
|
For each event a
|
|
|
|
.BR udev (8)
|
|
|
|
instance is executed in the background. All further events for the same device
|
2004-03-10 10:50:30 +07:00
|
|
|
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.
|
2004-02-18 09:17:50 +07:00
|
|
|
.br
|
|
|
|
.B udevd
|
|
|
|
receives the events from
|
|
|
|
.B udevsend
|
|
|
|
which is called by
|
2004-02-18 10:02:39 +07:00
|
|
|
.BR hotplug (8).
|
|
|
|
If
|
|
|
|
.B udevd
|
|
|
|
isn't already running,
|
|
|
|
.B udevsend
|
|
|
|
will start it.
|
2004-02-18 09:17:50 +07:00
|
|
|
.SH "SEE ALSO"
|
2004-02-27 10:39:33 +07:00
|
|
|
.BR udev (8),
|
|
|
|
.BR udevinfo (8),
|
|
|
|
.BR hotplug (8)
|
2004-02-18 09:17:50 +07:00
|
|
|
.SH AUTHORS
|
|
|
|
.B udevd
|
|
|
|
was developed primarily by Kay Sievers <kay.sievers@vrfy.org>, with much help
|
|
|
|
from others.
|