Use ID_CDROM_MEDIA to detect optical drives
authorDavid Zeuthen <davidz@redhat.com>
Thu, 18 Jun 2009 17:16:57 +0000 (13:16 -0400)
committerDavid Zeuthen <davidz@redhat.com>
Thu, 18 Jun 2009 17:16:57 +0000 (13:16 -0400)
commit97d71294bdb15eda4ff6624b80601cd847953e46
tree05a269a21d419771b9fd88f12dadb681a6b7ec2e
parent96ebf783308fc1bdb095992f8862a8613d752f9d
Use ID_CDROM_MEDIA to detect optical drives

This is available since udev 142 that we already depend on. This
change makes my USB stick from Sandisk "work" as "expected":

http://people.freedesktop.org/~david/thanks-sandisk.png
src/95-devkit-disks.rules