[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Fedora Core 3



On Fri, 2004-07-02 at 09:53 -0700, Greg KH wrote:
> What is causing udevstart to take so long on your machine?  On my dinky
> little laptop it runs in less than 3 seconds.  Odds are it's the rules
> that you are using.  Care to post the rules file?

Sure.  I'm running J5 packages, all up to date.

Dan

# 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.
#
# See the udev.rules.examples file for more examples of how to create rules
#

# 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"

# DRI devices always go into a subdirectory (as per the LSB spec)
KERNEL="card*", NAME="dri/card%n"

# alsa devices
KERNEL="controlC[0-9]*", NAME="snd/%k"
KERNEL="hw[CD0-9]*",     NAME="snd/%k"
KERNEL="pcm[CD0-9cp]*",  NAME="snd/%k"
KERNEL="midi[CD0-9]*",   NAME="snd/%k"
KERNEL="timer",          NAME="snd/%k"
KERNEL="seq",            NAME="snd/%k"

# input devices
KERNEL="mice",		NAME="input/%k"
KERNEL="mouse*",	NAME="input/%k"
KERNEL="event*",	NAME="input/%k"
KERNEL="js*",		NAME="input/%k"
KERNEL="ts*",		NAME="input/%k"

BUS="usb", KERNEL="lp[0-9]*", NAME="usb/%k"

KERNEL="microcode",     NAME="%k", SYMLINK="cpu/0/%k"
KERNEL="ram1", 		NAME="%k", SYMLINK="ram"
KERNEL="video0",	NAME="%k", SYMLINK="video"
KERNEL="radio0",	NAME="%k", SYMLINK="radio"
KERNEL="audio0",	NAME="%k", SYMLINK="audio"
KERNEL="dsp0",	NAME="%k", SYMLINK="dsp"
KERNEL="fb0",	NAME="%k", SYMLINK="fb"
KERNEL="qft0",	NAME="%k", SYMLINK="ftape"
KERNEL="isdnctrl0",	NAME="%k", SYMLINK="isdnctrl"
KERNEL="mixer0",	NAME="%k", SYMLINK="mixer"
KERNEL="ram0",	NAME="%k", SYMLINK="ramdisk"
KERNEL="sbpcd0",	NAME="%k", SYMLINK="sbpcd"
KERNEL="radio0",	NAME="%k", SYMLINK="radio"
KERNEL="tty0",	NAME="%k", SYMLINK="systty"
KERNEL="vbi0",	NAME="%k", SYMLINK="vbi"
KERNEL="null",	NAME="%k", SYMLINK="XOR"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]