blob: cdbb4fcfeafe461b75a5b180523429a4145d2e1d [file] [log] [blame]
Denys Vlasenko27094ca2009-11-07 03:28:48 +01001#
2# This is a sample mdev.conf
3#
4
5# Provide user, group, and mode information for devices. If a regex matches
6# the device name provided by sysfs, use the appropriate user:group and mode
7# instead of the default 0:0 660.
8#
9# Syntax:
10# %s %d:%d %s
11# devicename_regex user:group mode
12
13null 0:0 666
14zero 0:0 666
15urandom 0:0 444
16
17kmem 0:9 000
18mem 0:9 640
19port 0:9 640
20
21console 0:5 600
22ptmx 0:5 660
23tty[0-9]* 0:5 660
24
25ttyS[0-9]* 0:20 640
26
27fd[0-9]* 0:11 660
28
29sd[a-z]* 0:6 660
30hd[a-z]* 0:6 660