public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* [gentoo-user] udev-197 and /etc/udev/rules.d/
@ 2013-01-22  3:56 99% »Q«
  0 siblings, 0 replies; 1+ results
From: »Q« @ 2013-01-22  3:56 UTC (permalink / raw
  To: gentoo-user

udev-197-r3 gave me this postinstall warning:

  Upstream has removed the persistent-cd rules generator. If you need
  persistent names for these devices, place udev rules for them
  in /etc/udev/rules.d.

Well, I have had such a rule for a long time, and it worked ok until I
installed udev-197, which seems to be ignoring it.  I'm at a loss to
see what's wrong.

Here's /etc/udev/rules.d/12-opticaldrive.rules, just one line:

KERNEL=="sr0", SUBSYSTEM=="block", NAME="opticaldrive", SYMLINK+="%k", SYMLINK+="cdrom", SYMLINK+="cdrw", SYMLINK+="dvd", SYMLINK+="dvdrom", SYMLINK+="dvdrw"

And here's the first part of udevadm info for the device:

 looking at device '/devices/pci0000:00/0000:00:1f.2/ata2/host1/target1:0:0/1:0:0:0/block/sr0':
   KERNEL=="sr0"
   SUBSYSTEM=="block"
   DRIVER==""
   ATTR{ro}=="0"
   ATTR{size}=="4"
   ATTR{stat}=="       0        0        0        0        0        0        0        0        0        0        0"
   ATTR{range}=="1"
   ATTR{discard_alignment}=="0"
   ATTR{events}=="media_change eject_request"
   ATTR{ext_range}=="1"
   ATTR{events_poll_msecs}=="-1"
   ATTR{alignment_offset}=="0"
   ATTR{inflight}=="       0        0"
   ATTR{removable}=="1"
   ATTR{capability}=="119"
   ATTR{events_async}==""




^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2013-01-22  3:56 99% [gentoo-user] udev-197 and /etc/udev/rules.d/ »Q«

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox