summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/udev/udev.rules3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/udev/udev.rules b/etc/udev/udev.rules
index 06d5842c2a..b206503e15 100644
--- a/etc/udev/udev.rules
+++ b/etc/udev/udev.rules
@@ -46,4 +46,7 @@ REPLACE, KERNEL="ttyUSB0", NAME="pl2303"
#REPLACE, KERNEL="ttyS*", NAME="tts/%n"
#REPLACE, KERNEL="tty*", NAME="vc/%n"
+# if this is a ide cdrom, name it the default name, and create a symlink to cdrom
+CALLOUT, BUS="ide", PROGRAM="/bin/cat /proc/ide/%k/media", ID="cdrom", NAME="%k", SYMLINK="cdrom"
+