chiark / gitweb /
[PATCH] fix possible buffer overflow
[elogind.git] / etc / udev / udev.rules.devfs
1 # There are a number of modifiers that are allowed to be used in some of the
2 # fields.  See the udev man page for a full description of them.
3
4 # ide block devices
5 BUS="ide", id="0.0", NAME="ide/host0/bus0/target0/lun0/%D"
6 BUS="ide", id="0.1", NAME="ide/host0/bus0/target1/lun0/%D"
7 BUS="ide", id="1.0", NAME="ide/host0/bus1/target0/lun0/%D"
8 BUS="ide", id="1.1", NAME="ide/host0/bus1/target1/lun0/%D"
9
10 # md block devices
11 KERNEL="md[0-9]*", NAME="md/%n"
12
13 # floppy devices
14 KERNEL="fd[0-9]*", NAME="floppy/%n"
15
16 # tty devices
17 KERNEL="tty[0-9]*",    NAME="vc/%n"
18 KERNEL="ttyS[0-9]*",   NAME="tts/%n"
19 KERNEL="ttyUSB[0-9]*", NAME="tts/USB%n"
20
21 # vc devices
22 KERNEL="vcs",        NAME="vcc/0"
23 KERNEL="vcs[0-9]*",  NAME="vcc/%n"
24 KERNEL="vcsa",       NAME="vcc/a0"
25 KERNEL="vcsa[0-9]*", NAME="vcc/a%n"
26
27 # v4l devices
28 KERNEL="video[0-9]*", NAME="v4l/video%n"
29 KERNEL="radio[0-9]*", NAME="v4l/radio%n"
30 KERNEL="vbi[0-9]*",   NAME="v4l/vbi%n"
31 KERNEL="vtx[0-9]*",   NAME="v4l/vtx%n"
32
33 # dm devices (ignore them)
34 KERNEL="dm-[0-9]*", NAME=""
35
36 # i2c devices
37 KERNEL="i2c-[0-9]*", NAME="i2c/%n", SYMLINK="%k"
38
39 # loop devices
40 KERNEL="loop[0-9]*", NAME="loop/%n", SYMLINK="%k"
41
42 # ramdisks
43 KERNEL="ram[0-9]*", NAME="rd/%n", SYMLINK="%k"
44
45 # framebuffer devices
46 KERNEL="fb[0-9]*", NAME="fb/%n", SYMLINK="%k"
47
48 # misc
49 KERNEL="rtc",     NAME="misc/%k", SYMLINK="%k"
50 KERNEL="psaux",   NAME="misc/%k", SYMLINK="%k"
51 KERNEL="agpgart", NAME="misc/%k", SYMLINK="%k"
52 KERNEL="rtc",     NAME="misc/%k", SYMLINK="%k"
53 KERNEL="psaux",   NAME="misc/%k", SYMLINK="%k"
54 KERNEL="uinput",  NAME="misc/%k", SYMLINK="%k"
55
56 # alsa devices
57 KERNEL="controlC[0-9]*", NAME="snd/%k"
58 KERNEL="hw[CD0-9]*",     NAME="snd/%k"
59 KERNEL="pcm[CD0-9cp]*",  NAME="snd/%k"
60 KERNEL="midi[CD0-9]*",   NAME="snd/%k"
61 KERNEL="timer",          NAME="snd/%k"
62 KERNEL="seq",            NAME="snd/%k"
63
64 # oss devices
65 KERNEL="audio*",     NAME="sound/%k", SYMLINK="%k"
66 KERNEL="dmmidi",     NAME="sound/%k", SYMLINK="%k"
67 KERNEL="dsp*",       NAME="sound/%k", SYMLINK="%k"
68 KERNEL="midi*",      NAME="sound/%k", SYMLINK="%k"
69 KERNEL="mixer*",     NAME="sound/%k", SYMLINK="%k"
70 KERNEL="sequencer*", NAME="sound/%k", SYMLINK="%k"
71
72 # input devices
73 KERNEL="mice",   NAME="input/%k"
74 KERNEL="mouse*", NAME="input/%k"
75 KERNEL="event*", NAME="input/%k"
76 KERNEL="js*",    NAME="input/%k"
77 KERNEL="ts*",    NAME="input/%k"
78