[PATCH] add cdrom rule for ide cdrom.

Rule came from Kay
This commit is contained in:
greg@kroah.com
2005-04-26 21:13:14 -07:00
committed by Greg KH
parent 843d1a84b9
commit 6a82707227
+3
View File
@@ -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"