From 6a827072275a28798ac4c26ee166b03a145f4174 Mon Sep 17 00:00:00 2001 From: "greg@kroah.com" Date: Tue, 6 Jan 2004 01:11:15 -0800 Subject: [PATCH] [PATCH] add cdrom rule for ide cdrom. Rule came from Kay --- etc/udev/udev.rules | 3 +++ 1 file changed, 3 insertions(+) diff --git a/etc/udev/udev.rules b/etc/udev/udev.rules index 06d5842c..b206503e 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" + -- 2.39.5