]> err.no Git - systemd/commitdiff
[PATCH] add cdrom rule for ide cdrom.
authorgreg@kroah.com <greg@kroah.com>
Tue, 6 Jan 2004 09:11:15 +0000 (01:11 -0800)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:13:14 +0000 (21:13 -0700)
Rule came from Kay

etc/udev/udev.rules

index 06d5842c2a5fbf8eade17305a5a7250636abfbf8..b206503e1581c5aeea6c3c20b2890d9f6472e1c3 100644 (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" 
+