I've been reading up on systemd and doing a little probing regarding device unit-files.
According to the man pages:
systemd
will dynamically create device units for all kernel devices that are marked with the "systemd"udev
tag (by default all block and network devices, and a few others). This may be used to define dependencies between devices and other units. To tag audev
device, use "TAG+="systemd"" in theudev
rules file, seeudev(7)
for details.
I have tried looking in /lib/systemd/system
, as described in the Debian Wiki:
Unit files provided by Debian are located in the /lib/systemd/system directory.
But these are nowhere to be found.
Yet
~$ sudo systemctl list-units --type=device
does display devices units (such as disks, sound card, ethernet controller etc...)
I would like to know where I can find device unit files in Debian? or if these do not exist then why not and how is systemd handling these units in Debian?
Any clarifications/comments/insights would be much appreciated.