[systemd-devel] udev: problem renaming deviceode for dvb-devices
Kay Sievers
kay at vrfy.org
Mon Jul 9 15:32:42 PDT 2012
On Tue, Jul 10, 2012 at 12:20 AM, Lennart Poettering
<lennart at poettering.net> wrote:
> On Mon, 25.06.12 17:45, Joachim Banzhaf (joachim.banzhaf at googlemail.com) wrote:
>
>> SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*",
>> ATTR{address}=="5c:ff:35:00:7b:d1", ATTR{dev_id}=="0x0",
>> ATTR{type}=="1", KERNEL=="eth*", NAME="eth8"
>
> You cannot rename kernel device nodes anymore with current udev, since
> the kernel creates the device nodes via devtmpfs. The NAME="" stanza
> won't work, hence.
It will not do anything for device nodes. For network devices NAME= still works.
Still, the DVB devices can not be renamed, only additional symlinks be created.
But honestly, the apps should just enumerate the stuff on their own.
There are not many legacy apps needing DVB signals, I guess, where
such symlink games would be too useful.
The udev symlinks are mainly for things that expect predictable names
for legacy reasons, or for tools that are too simple to cope with
modern systems. DVB applications should not really be in that
category.
Kay
More information about the systemd-devel
mailing list