[systemd-devel] hinting systemd about what to do to make a device appear

martin f krafft madduck at madduck.net
Thu Sep 10 03:33:35 PDT 2015


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

-- 
@martinkrafft | http://madduck.net/ | http://two.sentenc.es/
 
"i dislike arguments of any kind. they are always vulgar, and often
 convincing."
                                                        -- oscar wilde
 
spamtraps: madduck.bogus at madduck.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: digital_signature_gpg.asc
Type: application/pgp-signature
Size: 1107 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/sig-policy/999bbcc4/current)
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20150910/78b311d5/attachment.sig>


More information about the systemd-devel mailing list