1 |
udev-197-r3 gave me this postinstall warning: |
2 |
|
3 |
Upstream has removed the persistent-cd rules generator. If you need |
4 |
persistent names for these devices, place udev rules for them |
5 |
in /etc/udev/rules.d. |
6 |
|
7 |
Well, I have had such a rule for a long time, and it worked ok until I |
8 |
installed udev-197, which seems to be ignoring it. I'm at a loss to |
9 |
see what's wrong. |
10 |
|
11 |
Here's /etc/udev/rules.d/12-opticaldrive.rules, just one line: |
12 |
|
13 |
KERNEL=="sr0", SUBSYSTEM=="block", NAME="opticaldrive", SYMLINK+="%k", SYMLINK+="cdrom", SYMLINK+="cdrw", SYMLINK+="dvd", SYMLINK+="dvdrom", SYMLINK+="dvdrw" |
14 |
|
15 |
And here's the first part of udevadm info for the device: |
16 |
|
17 |
looking at device '/devices/pci0000:00/0000:00:1f.2/ata2/host1/target1:0:0/1:0:0:0/block/sr0': |
18 |
KERNEL=="sr0" |
19 |
SUBSYSTEM=="block" |
20 |
DRIVER=="" |
21 |
ATTR{ro}=="0" |
22 |
ATTR{size}=="4" |
23 |
ATTR{stat}==" 0 0 0 0 0 0 0 0 0 0 0" |
24 |
ATTR{range}=="1" |
25 |
ATTR{discard_alignment}=="0" |
26 |
ATTR{events}=="media_change eject_request" |
27 |
ATTR{ext_range}=="1" |
28 |
ATTR{events_poll_msecs}=="-1" |
29 |
ATTR{alignment_offset}=="0" |
30 |
ATTR{inflight}==" 0 0" |
31 |
ATTR{removable}=="1" |
32 |
ATTR{capability}=="119" |
33 |
ATTR{events_async}=="" |