~carbslinux/repository

ref: 2356b251838cdb86fbd0c0a602f5d7e3f53ba6f3 repository/core/busybox/files/mdev.conf -rw-r--r-- 1.3 KiB
2356b251Cem Keylan gcc: bump to 11.2.0 11 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#
# /etc/mdev.conf
#

# sample mdev_fat.conf with minor modifications. The original
# can be found on examples/mdev_fat.conf which provides more
# information regarding syntax and usage.
#
# see also the usage output for 'mdev --help' for more information.

# support module loading on hotplug
$MODALIAS=.*	root:root 660 @modprobe "$MODALIAS"

# general-purpose devices
null		root:root 666 @chmod 666 $MDEV
zero		root:root 666
full		root:root 666
random		root:root 444
urandom		root:root 444
hwrandom	root:root 444
grsec		root:root 660

kmem		root:root 640
mem		root:root 640
port		root:root 640

# tty devices
console		root:tty 600 @chmod 600 $MDEV
ptmx		root:tty 666
pty.*		root:tty 660

tty		root:tty 666
tty[0-9]*	root:tty 660
vcsa*[0-9]*	root:tty 660
ttyS[0-9]*	root:uucp 660

# audio devices
adsp		root:audio 660 >sound/
audio		root:audio 660 >sound/
dsp		root:audio 660 >sound/
mixer		root:audio 660 >sound/
sequencer.*	root:audio 660 >sound/
snd/.*          root:audio 660

# video devices
card[0-9]	root:video 660 =dri/
dri/.*          root:video 660

# misc stuff
agpgart		root:root 660 >misc/
psaux		root:root 660 >misc/
rtc		root:root 664 >misc/

# input stuff
event[0-9]+     root:root 640 =input/
mice            root:root 640 =input/
mouse[0-9]      root:root 640 =input/
ts[0-9]         root:root 640 =input/