Search notes:

udev

udev (= userspace /dev) is (systemd's) successor of devfs and provides persistent naming for devices.
udev dynamically creates device nodes in the /dev directory with consistent naming.
Whenever the Kernel detects a change in the device tree (i. e. when a device is added or removed etc.), a uevent is raised. This uevent is then probed against the udev rules whose defined actions are triggered when the uevent matches the rule criteria.
When Linux is booted, udev takes an inventory of the hardware and loads the appropriate modules (drivers).

Configuration

udev is configured in /etc/udev/udev.conf

Rule files

Udev rules are formulated in rule files.
Every non-empty, uncommented line in a rule file has at least one key-value pair.
There are two types of keys:
All match keys must match against their values in order for the rule to be applied, i. e. for the assignment keys get their values assigned.
Locations for rule files include:
Also in the following?
The files in these directories must have a .rules extension in order to be processed.

Hardware Information

The /etc/udev/hwdb.d/ and /usr/lib/udev/hwdb.d directories maintain information about hardware devices.
Udev turns this information into a binary database: /etc/udev/hwdb.bin.

Eudev

Eudev is an alternative to udev that is apparently independent from systemd (or any other distribution or init system).

See also

udevadm
uevent

Index