chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
3874126
)
[PATCH] add cdsymlinks.sh support to gentoo rules file.
author
greg@kroah.com
<greg@kroah.com>
Thu, 11 Nov 2004 02:46:01 +0000
(18:46 -0800)
committer
Greg KH
<gregkh@suse.de>
Wed, 27 Apr 2005 05:09:26 +0000
(22:09 -0700)
etc/udev/udev.rules.gentoo
patch
|
blob
|
history
diff --git
a/etc/udev/udev.rules.gentoo
b/etc/udev/udev.rules.gentoo
index 08bc9f99d11e7d75d2ceb89840a62c82e5268129..2e2f89f26ab05b92cffde565cad2ec4c7dd41375 100644
(file)
--- a/
etc/udev/udev.rules.gentoo
+++ b/
etc/udev/udev.rules.gentoo
@@
-12,6
+12,11
@@
#
###########################################################
#
###########################################################
+# cdrom symlinks and other good cdrom naming
+BUS="ide", KERNEL="hd[a-z]", PROGRAM="/etc/udev/scripts/cdsymlinks.sh %k", SYMLINK="%c{1} %c{2} %c{3} %c{4} %c{5} %c{6}"
+BUS="scsi", KERNEL="sr[a-z]", PROGRAM="/etc/udev/scripts/cdsymlinks.sh %k", SYMLINK="%c{1} %c{2} %c{3} %c{4} %c{5} %c{6}"
+BUS="scsi", KERNEL="scd[a-z]", PROGRAM="/etc/udev/scripts/cdsymlinks.sh %k", SYMLINK="%c{1} %c{2} %c{3} %c{4} %c{5} %c{6}"
+
# devfs-names for ide-devices (uncomment only one)
# /dev/ide/.../{disc,cd} and /dev/{cdroms,discs}/* type names
BUS="ide", KERNEL="hd*", PROGRAM="/etc/udev/scripts/ide-devfs.sh %k %b %n", NAME="%k", SYMLINK="%c{1} %c{2}"
# devfs-names for ide-devices (uncomment only one)
# /dev/ide/.../{disc,cd} and /dev/{cdroms,discs}/* type names
BUS="ide", KERNEL="hd*", PROGRAM="/etc/udev/scripts/ide-devfs.sh %k %b %n", NAME="%k", SYMLINK="%c{1} %c{2}"