summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>2004-02-11 22:28:47 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:32:26 -0700
commit0c25b2066d06ae1f75d3e9f3f8e1e31d952906c5 (patch)
tree85a736a2088fbf275db2f2e44726df52084d58bb /etc
parent51a8bb2f361d86013e7579570faba446eed9c66d (diff)
[PATCH] udev - fix cdrom symlink rule
We only need to look at the device, not at the partitions.
Diffstat (limited to 'etc')
-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=""