mirror of https://github.com/OpenIPC/firmware.git
21 lines
804 B
Plaintext
21 lines
804 B
Plaintext
# 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
|
|
#
|
|
|
|
mmcblk[0-9] root:disk 660
|
|
mmcblk[0-9]p[0-9] root:disk 660 *(/lib/mdev/automount.sh)
|
|
|
|
sd[a-z] root:disk 660
|
|
sd[a-z][0-9] root:disk 660 *(/lib/mdev/automount.sh)
|