Observe and control how the kernel's device events are handled on your system. 24.06.2026 | reading time: 2 min At the heart of Linux device handling sits `udevd`, the daemon that listens to kernel uevents and applies udev rules to create device nodes and trigger scripts, and this guide shows how to observe and control that behavior in practice. See it live To watch device events he runs a monitor and then simulates a plug; commands: ```bash udevadm monitor --kernel --udev; sudo udevadm trigger --action=add /sys/class/block/sdb```; typical observed output looks like: KERNEL[1234.5678] add /devices/pci0000:00/0000:00:1f.2/host0/target0:0:0/0:0:0:0/block/sdb; UDEV [1234.5679] add /devices/... and udev applies matching rules and creates the /dev nodes. Rules and persistent naming He stores rules under /etc/udev/rules.d to create predictable names and run actions; for example a rule might look like `SUBSYSTEM=="block", KERNEL=="sda", ATTRS{serial}=="1234", NAME="disk/by-serial/mydisk"` and udev will apply that when the device appears. Controlling the daemon When he changes rules he tells the daemon to reload and re-evaluates devices with `sudo udevadm control --reload-rules` followed by `sudo udevadm trigger` and checks stability with `udevadm settle`, and on systemd systems the service appears as `systemd-udevd` which can be queried with `systemctl status systemd-udevd`. Debugging techniques If a rule does not behave as expected he runs `udevadm test /sys/class/...` to simulate matching and inspects verbose syslog output; long-running commands in rules are dangerous, so prefer queuing work to systemd units or external scripts to avoid blocking udev processing. Related tools and workflows Beyond the daemon itself he will use `udevadm` for monitoring, testing and triggering, examine sysfs under /sys to identify attributes, and compare alternatives like `mdev` on tiny systems when resources matter. Closing perspective Mastering `udevd` gives him control over how hardware is named and integrated into the system, a practical skill that pairs well with certification paths; consider deepening that knowledge for CompTIA Linux+ or LPIC-1 and try intensive exam preparation at bitsandbytes.academy. Join Bits & Bytes Academy First class LINUX exam preparation. boot-process utilities processes scripting storage troubleshooting