etc-gentoo/udev/rules.d/70-persistent-cd.rules

29 lines
1.9 KiB
Plaintext
Raw Normal View History

# This file was automatically generated by the /lib64/udev/write_cd_rules
# program, run by the cd-aliases-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single
# line, and set the $GENERATED variable.
# DVD_RW_ND-4550A (pci-0000:03:00.1-scsi-0:0:0:0)
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:03:00.1-scsi-0:0:0:0", SYMLINK+="cdrom", ENV{GENERATED}="1"
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:03:00.1-scsi-0:0:0:0", SYMLINK+="cdrw", ENV{GENERATED}="1"
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:03:00.1-scsi-0:0:0:0", SYMLINK+="dvd", ENV{GENERATED}="1"
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="pci-0000:03:00.1-scsi-0:0:0:0", SYMLINK+="dvdrw", ENV{GENERATED}="1"
# Virt._CD_DVD-ROM (platform-vhba-scsi-0:0:0:0)
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="platform-vhba-scsi-0:0:0:0", SYMLINK+="cdrom1", ENV{GENERATED}="1"
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="platform-vhba-scsi-0:0:0:0", SYMLINK+="dvd1", ENV{GENERATED}="1"
# Virt._CD_DVD-ROM (platform-vhba-scsi-0:0:2:0)
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="platform-vhba-scsi-0:0:2:0", SYMLINK+="cdrom2", ENV{GENERATED}="1"
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="platform-vhba-scsi-0:0:2:0", SYMLINK+="dvd2", ENV{GENERATED}="1"
# Virt._CD_DVD-ROM (platform-vhba-scsi-0:0:1:0)
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="platform-vhba-scsi-0:0:1:0", SYMLINK+="cdrom3", ENV{GENERATED}="1"
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="platform-vhba-scsi-0:0:1:0", SYMLINK+="dvd3", ENV{GENERATED}="1"
# Virt._CD_DVD-ROM (platform-vhba-scsi-0:0:3:0)
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="platform-vhba-scsi-0:0:3:0", SYMLINK+="cdrom4", ENV{GENERATED}="1"
SUBSYSTEM=="block", ENV{ID_CDROM}=="?*", ENV{ID_PATH}=="platform-vhba-scsi-0:0:3:0", SYMLINK+="dvd4", ENV{GENERATED}="1"