1
1
mirror of https://github.com/systemd/systemd-stable.git synced 2024-10-31 16:21:11 +03:00
systemd-stable/etc/udev/debian/simple-cd-aliases.rules
2005-04-26 23:10:31 -07:00

6 lines
330 B
Plaintext

# 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"