diff options
author | greg@kroah.com <greg@kroah.com> | 2004-01-06 01:11:15 -0800 |
---|---|---|
committer | Greg KH <gregkh@suse.de> | 2005-04-26 21:13:14 -0700 |
commit | 6a827072275a28798ac4c26ee166b03a145f4174 (patch) | |
tree | 77d74db01d48321dcfc881a0cd2e6fc7991b00ea | |
parent | 843d1a84b9be2b3e11f26186fee24676f5dc3f53 (diff) |
[PATCH] add cdrom rule for ide cdrom.
Rule came from Kay
-rw-r--r-- | etc/udev/udev.rules | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/udev/udev.rules b/etc/udev/udev.rules index 06d5842c2a..b206503e15 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" + |