Apache/2.4.7 (Ubuntu) Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) safemode : OFF MySQL: ON | Perl: ON | cURL: OFF | WGet: ON > / usr / share / doc / busybox-static / examples / | server ip : 104.21.89.46 your ip : 172.70.80.135 H O M E |
Filename | /usr/share/doc/busybox-static/examples/mdev.conf |
Size | 888 |
Permission | rw-r--r-- |
Owner | root : root |
Create time | 27-Apr-2025 09:55 |
Last modified | 23-Dec-2012 06:39 |
Last accessed | 07-Jul-2025 03:09 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
#
# This is a sample mdev.conf
#
# Provide user, group, and mode information for devices. If a regex matches
# the device name provided by sysfs, use the appropriate user:group and mode
# instead of the default 0:0 660.
#
# Syntax:
# [-]devicename_regex user:group mode [=path]|[>path]|[!] [@|$|*cmd args...]
# [-]$ENVVAR=regex user:group mode [=path]|[>path]|[!] [@|$|*cmd args...]
# [-]@maj,min[-min2] user:group mode [=path]|[>path]|[!] [@|$|*cmd args...]
#
# [-]: do not stop on this match, continue reading mdev.conf
# =: move, >: move and create a symlink
# !: do not create device node
# @|$|*: run@cmd if $ACTION=add, $cmd if $ACTION=remove, *cmd in all cases
null 0:0 666
zero 0:0 666
urandom 0:0 444
kmem 0:9 000
mem 0:9 640
port 0:9 640
console 0:5 600
ptmx 0:5 660
tty[0-9]* 0:5 660
ttyS[0-9]* 0:20 640
fd[0-9]* 0:11 660
sd[a-z]* 0:6 660
hd[a-z]* 0:6 660
# This is a sample mdev.conf
#
# Provide user, group, and mode information for devices. If a regex matches
# the device name provided by sysfs, use the appropriate user:group and mode
# instead of the default 0:0 660.
#
# Syntax:
# [-]devicename_regex user:group mode [=path]|[>path]|[!] [@|$|*cmd args...]
# [-]$ENVVAR=regex user:group mode [=path]|[>path]|[!] [@|$|*cmd args...]
# [-]@maj,min[-min2] user:group mode [=path]|[>path]|[!] [@|$|*cmd args...]
#
# [-]: do not stop on this match, continue reading mdev.conf
# =: move, >: move and create a symlink
# !: do not create device node
# @|$|*: run@cmd if $ACTION=add, $cmd if $ACTION=remove, *cmd in all cases
null 0:0 666
zero 0:0 666
urandom 0:0 444
kmem 0:9 000
mem 0:9 640
port 0:9 640
console 0:5 600
ptmx 0:5 660
tty[0-9]* 0:5 660
ttyS[0-9]* 0:20 640
fd[0-9]* 0:11 660
sd[a-z]* 0:6 660
hd[a-z]* 0:6 660