summaryrefslogtreecommitdiff
path: root/etc/udev/debian/cd-aliases.rules
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2004-12-08 17:09:40 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 23:10:31 -0700
commit06ed11be3ea3f7343ab8b027c121496f2075d3e8 (patch)
tree77d8d9e4e61abe402cf1f7feceb20f3d08c6782a /etc/udev/debian/cd-aliases.rules
parentf01a9ca1a2824e07908457ef01db238b77d21f96 (diff)
[PATCH] add more debian rules files.
Diffstat (limited to 'etc/udev/debian/cd-aliases.rules')
-rw-r--r--etc/udev/debian/cd-aliases.rules11
1 files changed, 11 insertions, 0 deletions
diff --git a/etc/udev/debian/cd-aliases.rules b/etc/udev/debian/cd-aliases.rules
new file mode 100644
index 0000000000..7137527628
--- /dev/null
+++ b/etc/udev/debian/cd-aliases.rules
@@ -0,0 +1,11 @@
+# These rules create the /dev/{cdrom,dvd,...} symlinks. Also see the
+# /etc/udev/cdsymlinks.conf config file.
+#
+# If you would like to statically configure the aliases instead, you can
+# use rules like:
+# BUS="ide", ID="1.0", SYMLINK="cdrom"
+
+BUS="scsi", KERNEL="sr[0-9]*", PROGRAM="/etc/udev/scripts/cdsymlinks.sh %k", SYMLINK="%c{1} %c{2} %c{3} %c{4} %c{5} %c{6}"
+BUS="ide", KERNEL="hd[a-z]", SYSFS{removable}="1", PROGRAM="/etc/udev/scripts/cdsymlinks.sh %k", SYMLINK="%c{1} %c{2} %c{3} %c{4} %c{5} %c{6}"
+BUS="ide", KERNEL="pcd[0-9]*", SYSFS{removable}="1", PROGRAM="/etc/udev/scripts/cdsymlinks.sh %k", SYMLINK="%c{1} %c{2} %c{3} %c{4} %c{5} %c{6}"
+