From: greg@kroah.com Date: Tue, 6 Jan 2004 09:11:15 +0000 (-0800) Subject: [PATCH] add cdrom rule for ide cdrom. X-Git-Tag: 013~36 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a827072275a28798ac4c26ee166b03a145f4174;p=systemd [PATCH] add cdrom rule for ide cdrom. Rule came from Kay --- 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" +