1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-12-22 13:33:56 +03:00

rules: allow SPARC vdisk devices when identifying CD drives (#5599)

This commit is contained in:
John Paul Adrian Glaubitz 2017-03-20 11:22:54 +01:00 committed by Martin Pitt
parent 231f1a7603
commit 7c1ebe99b6

View File

@ -2,7 +2,7 @@
ACTION=="remove", GOTO="cdrom_end"
SUBSYSTEM!="block", GOTO="cdrom_end"
KERNEL!="sr[0-9]*|xvd*", GOTO="cdrom_end"
KERNEL!="sr[0-9]*|vdisk*|xvd*", GOTO="cdrom_end"
ENV{DEVTYPE}!="disk", GOTO="cdrom_end"
# unconditionally tag device as CDROM