IT lexicon › Infra & Ops › devd

devd

Infra & Ops På svenska → Updated: 2026-11-09

FreeBSD's daemon that listens for kernel device events and runs commands when something is plugged in or out.

The kernel emits an event when a device attaches, detaches or changes state — a USB stick going in, a network cable coming out, a battery starting to charge. devd reads them and matches them against rules in /etc/devd.conf, which can load a kld, start DHCP on an interface or run a script. The daemon arrived with FreeBSD 5 and replaced a pile of special-purpose scripts.

Linux has udev for the same job, but the philosophy differs: devd doesn't create device nodes — devfs does that in the kernel. devd only handles the reaction. The result is a configuration you can read in one sitting, which in BSD circles counts as an argument in its own right.

← Back to the lexicon