diff options
Diffstat (limited to 'src/extras/cdrom_id/60-cdrom_id.rules')
-rw-r--r-- | src/extras/cdrom_id/60-cdrom_id.rules | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/extras/cdrom_id/60-cdrom_id.rules b/src/extras/cdrom_id/60-cdrom_id.rules index 353f522b0b..25e049a2f5 100644 --- a/src/extras/cdrom_id/60-cdrom_id.rules +++ b/src/extras/cdrom_id/60-cdrom_id.rules @@ -15,4 +15,7 @@ ENV{DISK_EJECT_REQUEST}=="?*", RUN+="cdrom_id --eject-media $devnode", GOTO="cdr # enable the receiving of media eject button events IMPORT{program}="cdrom_id --lock-media $devnode" +KERNEL=="sr0", SYMLINK+="cdrom", OPTIONS+="link_priority=-100" +KERNEL=="sr0", ENV{ID_CDROM_DVD}=="1", SYMLINK+="dvd", OPTIONS+="link_priority=-100" + LABEL="cdrom_end" |