[systemd-devel] hinting systemd about what to do to make a device appear
Lennart Poettering
lennart at poettering.net
Thu Sep 10 04:01:17 PDT 2015
On Thu, 10.09.15 12:33, martin f krafft (madduck at madduck.net) wrote:
> also sprach Lennart Poettering <lennart at poettering.net> [2015-09-10 12:28 +0200]:
> > Does udev know about the symlink? I.e. does "udevadm info" show it?
> > Which component is creating it? Only symlinks created by udev are
> > known by udev and systemd. To support this, the drbd support needs to
> > install rules files that create them, and not touch /dev directly. In
> > fact, nothing ever should touch /dev directly, except for udev.
>
> Yes, this symlink is put in place by udev rules, and udevadm knows
> about it:
>
> E: DEVLINKS=/dev/drbd/by-disk/mapper/shelter-drbd /dev/drbd/by-res/backup
Hmm. After the device appeared in systemd, does it show up in the
Aliases= field of the .device unit? Specifically, can you make the
device appear, then run "systemctl show -a" on it, and paste the
output somewhere?
Thanks,
Lennart
--
Lennart Poettering, Red Hat
More information about the systemd-devel
mailing list