mirror of
https://github.com/systemd/systemd.git
synced 2024-11-06 08:26:52 +03:00
2d01980f1a
we cannot be sure for xvd*
12 lines
316 B
Plaintext
12 lines
316 B
Plaintext
# do not edit this file, it will be overwritten on update
|
|
|
|
ACTION=="remove", GOTO="cdrom_end"
|
|
SUBSYSTEM!="block", GOTO="cdrom_end"
|
|
KERNEL!="sr[0-9]*|xvd*", GOTO="cdrom_end"
|
|
ENV{DEVTYPE}!="disk", GOTO="cdrom_end"
|
|
|
|
KERNEL=="sr[0-9]*", ENV{ID_CDROM}="1"
|
|
IMPORT{program}="cdrom_id --export $tempnode"
|
|
|
|
LABEL="cdrom_end"
|