Diff of /tags/udev-170-r1/udev-cdrom_id.rules.magellan
Parent Directory | Revision Log | Patch
revision 1088 by niro, Wed Aug 18 02:24:13 2010 UTC | revision 1324 by niro, Thu May 26 22:42:57 2011 UTC | |
---|---|---|
# | Line 23 SUBSYSTEM!="block", GOTO="cdrom_end" | Line 23 SUBSYSTEM!="block", GOTO="cdrom_end" |
23 | KERNEL!="sr[0-9]*|xvd*", GOTO="cdrom_end" | KERNEL!="sr[0-9]*|xvd*", GOTO="cdrom_end" |
24 | ENV{DEVTYPE}!="disk", GOTO="cdrom_end" | ENV{DEVTYPE}!="disk", GOTO="cdrom_end" |
25 | ||
26 | # this is only a button press event | |
27 | ENV{DISK_EJECT_REQUEST}=="?*", GOTO="cdrom_end" | |
28 | ||
29 | KERNEL=="sr[0-9]*", ENV{ID_CDROM}="1" | KERNEL=="sr[0-9]*", ENV{ID_CDROM}="1" |
30 | IMPORT{program}="cdrom_id --export $tempnode" | IMPORT{program}="cdrom_id $tempnode" |
31 | ||
32 | LABEL="cdrom_end" | LABEL="cdrom_end" |
|