summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgreg@kroah.com <greg@kroah.com>2004-03-02 20:23:36 -0800
committerGreg KH <gregkh@suse.de>2005-04-26 21:35:07 -0700
commit5ba7d3d603a63b7e2909c40a1e33d365024ba6b0 (patch)
treebc215a246fa113c68071f9f9437b6c13db53f302
parentc9043d4597692b5809a40a4aaa9d9b3bd7fadb35 (diff)
downloadsystemd-5ba7d3d603a63b7e2909c40a1e33d365024ba6b0.tar.gz
[PATCH] update the Gentoo rules files.
-rw-r--r--etc/udev/udev.rules.gentoo7
1 files changed, 5 insertions, 2 deletions
diff --git a/etc/udev/udev.rules.gentoo b/etc/udev/udev.rules.gentoo
index 0f871ca7ff..f8419a2925 100644
--- a/etc/udev/udev.rules.gentoo
+++ b/etc/udev/udev.rules.gentoo
@@ -1,5 +1,5 @@
# /etc/udev/udev.rules: device naming rules for udev
-# $Header: /home/cvsroot/gentoo-x86/sys-fs/udev/files/udev.rules.post_012,v 1.5 2004/02/08 16:59:29 azarah Exp $
+# $Header: /home/cvsroot/gentoo-x86/sys-fs/udev/files/udev.rules-018,v 1.2 2004/02/29 11:07:39 azarah Exp $
#
# There are a number of modifiers that are allowed to be used in some of the
# fields. See the udev man page for a full description of them.
@@ -60,6 +60,9 @@ KERNEL="seq", NAME="snd/%k"
# dm devices (ignore them)
KERNEL="dm-[0-9]*", NAME=""
+# create a symlink named after the device map name
+# note devmap_name comes with extras/multipath
+#KERNEL="dm-[0-9]*", PROGRAM="/sbin/devmap_name %M %m", NAME="%k", SYMLINK="%c"
KERNEL="device-mapper", NAME="mapper/control"
# fb devices
@@ -100,7 +103,7 @@ KERNEL="tty[p-za-e][0-9a-f]*", NAME="tty/s%n", SYMLINK="%k"
KERNEL="ram[0-9]*", NAME="rd/%n", SYMLINK="%k"
# sound devices
-KERNEL="adsp", NAME="sound/adsp" SYMLINK="%k"
+KERNEL="adsp", NAME="sound/adsp", SYMLINK="%k"
KERNEL="audio", NAME="sound/audio", SYMLINK="%k"
KERNEL="dsp", NAME="sound/dsp", SYMLINK="%k"
KERNEL="mixer", NAME="sound/mixer", SYMLINK="%k"