diff options
author | Cem Keylan <cem@ckyln.com> | 2020-06-03 10:49:24 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-06-03 10:49:24 +0300 |
commit | 40593e3d24146c20cc4bd35e8f1717da67fb7ecb (patch) | |
tree | 111b780bf76247c1aaecdaeed9b203c5467400c4 /core/busybox/files/mdev.conf | |
parent | a208ed74db93f821abfcd1058f9d9775acc40c91 (diff) | |
download | repository-40593e3d24146c20cc4bd35e8f1717da67fb7ecb.tar.gz |
busybox: add new utils
Diffstat (limited to 'core/busybox/files/mdev.conf')
-rw-r--r-- | core/busybox/files/mdev.conf | 58 |
1 files changed, 58 insertions, 0 deletions
diff --git a/core/busybox/files/mdev.conf b/core/busybox/files/mdev.conf new file mode 100644 index 00000000..8edbd89c --- /dev/null +++ b/core/busybox/files/mdev.conf @@ -0,0 +1,58 @@ +# +# /etc/mdev.conf +# + +# sample mdev_fat.conf with minor modifications. The original +# can be found on examples/mdev_fat.conf which provides more +# information regarding syntax and usage. +# +# see also the usage output for 'mdev --help' for more information. + +# support module loading on hotplug +$MODALIAS=.* root:root 660 @modprobe "$MODALIAS" + +# general-purpose devices +null root:root 666 @chmod 666 $MDEV +zero root:root 666 +full root:root 666 +random root:root 444 +urandom root:root 444 +hwrandom root:root 444 +grsec root:root 660 + +kmem root:root 640 +mem root:root 640 +port root:root 640 + +# tty devices +console root:tty 600 @chmod 600 $MDEV +ptmx root:tty 666 +pty.* root:tty 660 + +tty root:tty 666 +tty[0-9]* root:tty 660 +vcsa*[0-9]* root:tty 660 +ttyS[0-9]* root:uucp 660 + +# audio devices +adsp root:audio 660 >sound/ +audio root:audio 660 >sound/ +dsp root:audio 660 >sound/ +mixer root:audio 660 >sound/ +sequencer.* root:audio 660 >sound/ +snd/.* root:audio 660 + +# video devices +card[0-9] root:video 660 =dri/ +dri/.* root:video 660 + +# misc stuff +agpgart root:root 660 >misc/ +psaux root:root 660 >misc/ +rtc root:root 664 >misc/ + +# input stuff +event[0-9]+ root:root 640 =input/ +mice root:root 640 =input/ +mouse[0-9] root:root 640 =input/ +ts[0-9] root:root 640 =input/ |