aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/etc/mdev.conf
blob: cb71b25af3fb51fd38b279395e41dc2464eb3d51 (plain)
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
# mdevd-conf
# null, zero may already exist; therefore ownership has to be changed with command
null						root:root		666 +importas -S MDEV chmod 666 $MDEV
zero						root:root		666 +importas -S MDEV chmod 666 $MDEV
urandom						root:root		666
random						root:root		666
full						root:root		666
fuse						root:root		666

# console may already exist; therefore ownership has to be changed with command
console						root:tty		600 +importas -S MDEV chmod 600 $MDEV
tty							root:tty 		666
ttyS.*						root:dialout 	660
tty.*						root:tty 		620
ptmx						root:tty 		666

snd/.*						root:audio		660

uinput						root:input		660
input/.*					root:input		660
bus/usb/.*/.*				root:usb		660

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

dri/card.*					root:video		660
dri/render.*				root:render		666

kfd							root:render 	666
-SUBSYSTEM=block;.*			root:disk		660 +mddc-add-block-sym
SUBSYSTEM=block;.*			root:disk		660 -mddc-del-block-sym