summaryrefslogtreecommitdiff
path: root/etc/udev/debian/simple-cd-aliases.rules
blob: bd700bc29f18e98dcf9bf8faa1ee433236c279df (plain)
1
2
3
4
5
# grouping of optical drives from multiple kernel subsystems
BUS="scsi", KERNEL="sr[0-9]*",	                      SYMLINK="cdrom%e"
BUS="ide",  KERNEL="hd[a-z]",	SYSFS{removable}="1", SYMLINK="cdrom%e", PROGRAM="/bin/cat /proc/ide/%k/media", RESULT="cdrom"
BUS="ide",  KERNEL="pcd[0-9]*",	SYSFS{removable}="1", SYMLINK="cdrom%e"