xref: /OK3568_Linux_fs/buildroot/package/busybox/mdev.conf (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1# null may already exist; therefore ownership has to be changed with command
2null		root:root 666 @chmod 666 $MDEV
3zero		root:root 666
4full		root:root 666
5random		root:root 444
6urandom		root:root 444
7hwrandom	root:root 444
8grsec		root:root 660
9
10kmem		root:root 640
11mem		root:root 640
12port		root:root 640
13# console may already exist; therefore ownership has to be changed with command
14console		root:tty 600 @chmod 600 $MDEV
15ptmx		root:tty 666
16pty.*		root:tty 660
17
18# Typical devices
19tty		root:tty 666
20tty[0-9]*	root:tty 660
21vcsa*[0-9]*	root:tty 660
22ttyS[0-9]*	root:root 660
23ttyUSB[0-9]*	root:root 660
24
25# alsa sound devices
26snd/pcm.*	root:audio 660
27snd/control.*	root:audio 660
28snd/midi.*	root:audio 660
29snd/seq		root:audio 660
30snd/timer	root:audio 660
31
32# input stuff
33input/event[0-9]+	root:root 640
34input/mice		root:root 640
35input/mouse[0-9]	root:root 640
36input/ts[0-9]		root:root 600
37
38# load modules
39$MODALIAS=.*	root:root 660 @modprobe "$MODALIAS"
40