Linux Commands Examples

A great documentation place for Linux commands

udevd

event managing daemon


see also : udevadm

Synopsis

udevd [--daemon] [--debug] [--children-max=] [--exec-delay=] [--resolve-names=early|late|never] [--version] [--help]


add an example, a script, a trick and tips

: email address (won't be displayed)
: name

Step 2

Thanks for this example ! - It will be moderated and published shortly.

Feel free to post other examples
Oops ! There is a tiny cockup. A damn 404 cockup. Please contact the loosy team who maintains and develops this wonderful site by clicking in the mighty feedback button on the side of the page. Say what happened. Thanks!

examples

0
source
            
function _deploy_package {
_deploy_static_elf /udevd.elf /udev/udevd
_deploy_static_elf /udevadm.elf /udev/udevadm
_deploy_file /libudev.a /libudev/.libs/libudev.a
(
_output_cpiod_bin_file /udevd /udevd.elf
_output_cpiod_bin_file /udevadm /udevadm.elf
) | _deploy_cpiod /generic-bin.cpiod
}

description

udevd listens to kernel uevents. For every event, udevd executes matching instructions specified in udev rules. See udev(7).

On startup the content of the directory /lib/udev/devices is copied to /dev. If kernel modules specify static device nodes, these nodes are created even without a corresponding kernel device, to allow on-demand loading of kernel modules. Matching permissions specified in udev rules are applied to these static device nodes.

The behavior of the running daemon can be changed with udevadm control.

options

--daemon

Detach and run in the background.

--debug

Print debug messages to stderr.

--children-max=

Limit the number of parallel executed events.

--exec-delay=

Number of seconds to delay the execution of RUN instructions. This might be useful when debugging system crashes during coldplug cause by loading non-working kernel modules.

--resolve-names=

Specify when udevd should resolve names of users and groups. When set to early (the default) names will be resolved when the rules are parsed. When set to late names will be resolved for every event. When set to never names will never be resolved and all devices will be owned by root.

--version

Print version number.

--help

Print help text.

environment

UDEV_LOG=

Set the logging priority.

kernel command line

udev.log-priority=

Set the logging priority.

udev.children-max=

Limit the number of parallel executed events.

udev.exec-delay=

Number of seconds to delay the execution of RUN instructions. This might be useful when debugging system crashes during coldplug cause by loading non-working kernel modules.


see also

udev, udevadm


author

Written by Kay Sievers kay.sievers[:at:]vrfy[:dot:]org.

How can this site be more helpful to YOU ?


give  feedback