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:
c9043d4
)
[PATCH] update the Gentoo rules files.
author
greg@kroah.com
<greg@kroah.com>
Wed, 3 Mar 2004 04:23:36 +0000
(20:23 -0800)
committer
Greg KH
<gregkh@suse.de>
Wed, 27 Apr 2005 04:35:07 +0000
(21:35 -0700)
etc/udev/udev.rules.gentoo
patch
|
blob
|
history
diff --git
a/etc/udev/udev.rules.gentoo
b/etc/udev/udev.rules.gentoo
index 0f871ca7ff175afbd0322da4ec544fae99edb243..f8419a292554cdf8bf555a95a7e695eabba8dc51 100644
(file)
--- 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
# /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:2
9 azarah Exp $
+# $Header: /home/cvsroot/gentoo-x86/sys-fs/udev/files/udev.rules
-018,v 1.2 2004/02/29 11:07:3
9 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.
#
# 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=""
# 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
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="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"
KERNEL="audio", NAME="sound/audio", SYMLINK="%k"
KERNEL="dsp", NAME="sound/dsp", SYMLINK="%k"
KERNEL="mixer", NAME="sound/mixer", SYMLINK="%k"