mirror of
https://github.com/AuxXxilium/eudev.git
synced 2025-01-27 01:20:00 +07:00
8 lines
338 B
Plaintext
8 lines
338 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", \
|
|
PROGRAM="/bin/cat /proc/ide/%k/media", RESULT=="cdrom", \
|
|
SYMLINK+="cdrom%e"
|
|
BUS=="ide", KERNEL=="pcd[0-9]*", SYSFS{removable}=="1", SYMLINK+="cdrom%e"
|
|
|