[systemd-devel] What does udevd do

Tomasz Torcz tomek at pipebreaker.pl
Sat May 30 10:37:02 PDT 2015

On Sat, May 30, 2015 at 09:53:36PM +0800, cee1 wrote:
> Hi all,
> If a service wants to be notified when a device is plugged in, it
> invokes routines of libudev which actually:
> * Receive notifications from the kernel via NETLINK socket.
> * Query the detailed info from /sys/...
> Am I right?
> Then udevd is only responsible for
> 1) Making nodes, and doing other device initialization stuffs.

  udev does not make device nodes.  It parses rules, makes symlinks,
changes permissions etc.
  udev also maintains database with device informations.

> 2) Notifying systemd, let systemd start related daemons.

Tomasz Torcz                                                       72->|   80->|
xmpp: zdzichubg at chrome.pl                                          72->|   80->|

More information about the systemd-devel mailing list