chiark / gitweb /
45ffeeac6ba17b211a5c16145fa18ec4ad762130
[elogind.git] / etc / udev / debian / simple-cd-aliases.rules
1 # grouping of optical drives from multiple kernel subsystems
2 BUS=="scsi", KERNEL=="sr[0-9]*",                         SYMLINK+="cdrom%e"
3 BUS=="ide",  KERNEL=="hd[a-z]",   SYSFS{removable}=="1", \
4         PROGRAM="/bin/cat /proc/ide/%k/media", RESULT=="cdrom", \
5                                                          SYMLINK+="cdrom%e"
6 BUS=="ide",  KERNEL=="pcd[0-9]*", SYSFS{removable}=="1", SYMLINK+="cdrom%e"
7