summaryrefslogtreecommitdiff
path: root/etc/udev
diff options
context:
space:
mode:
Diffstat (limited to 'etc/udev')
-rw-r--r--etc/udev/udev.rules2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/udev/udev.rules b/etc/udev/udev.rules
index 98d2ceccc7..344304dd95 100644
--- a/etc/udev/udev.rules
+++ b/etc/udev/udev.rules
@@ -35,7 +35,7 @@ KERNEL="ttyUSB0", NAME="pl2303"
#KERNEL="tty*", NAME="vc/%n"
# if this is a ide cdrom, name it the default name, and create a symlink to cdrom
-BUS="ide", PROGRAM="/bin/cat /proc/ide/%k/media", RESULT="cdrom", NAME="%k", SYMLINK="cdrom"
+BUS="ide", KERNEL="*[!0-9]", PROGRAM="/bin/cat /proc/ide/%k/media", RESULT="cdrom", NAME="%k", SYMLINK="cdrom"
# device mapper creates its own device nodes so ignore these
KERNEL="dm-[0-9]*", NAME=""