X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=etc%2Fudev%2Fudev.rules;h=344304dd951397e67deeb13cb3e04ece3bd61c50;hp=98d2ceccc785b6a224a5b53637f2be553f6e42fc;hb=0c25b2066d06ae1f75d3e9f3f8e1e31d952906c5;hpb=51a8bb2f361d86013e7579570faba446eed9c66d diff --git a/etc/udev/udev.rules b/etc/udev/udev.rules index 98d2ceccc..344304dd9 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=""