[systemd-devel] [PATCH] Ship new udev rules file to create per-seat symlinks for input devices

Kay Sievers kay at vrfy.org
Fri Feb 14 08:34:39 PST 2014


On Fri, Feb 14, 2014 at 5:25 PM, Laércio de Sousa <lbsousajr at gmail.com> wrote:
> Good point.
>
> I used to append a $env{MINOR} to symlink names to avoid such ambiguities. A
> side effect of this approach is that symlink names would change every time
> the device is plugged in a different USB port, for example.

No, we don't want to do that. The idea of these links is to be
predictable, not so much to show up with a random name for grouping.

At a general level, tools should be ported to 2014 and *actively* look
for devices and also support hotplug and dynamic configuration. We
added the /dev/$subsys/by-*/ stuff to make legacy apps work better
that time, but we should not further extend this today.

Tools can still ship and install their own rules, but none of that
should be included in the default set installed by systemd.

Kay


More information about the systemd-devel mailing list