forked from kiss-community/repo
busybox: new mdev.conf
This commit is contained in:
parent
4bfa1bf81b
commit
8483a24387
@ -14,4 +14,4 @@ ebd61afac770d3d9cae5c411f44002496fb18b28cf7b77520072a3909852246e
|
|||||||
4a5981f4b0d791fe9b84b0b2e01ae905f6565c8245b3cd603e6decf34ddad71a
|
4a5981f4b0d791fe9b84b0b2e01ae905f6565c8245b3cd603e6decf34ddad71a
|
||||||
f857fea99533df7b780c911bae19b0029a70ee1c8d36b49e7782604fb9cf25f8
|
f857fea99533df7b780c911bae19b0029a70ee1c8d36b49e7782604fb9cf25f8
|
||||||
e7db036d8e43bb2511df087342708f5fb51d28a7dff9008a1cf440390870a972
|
e7db036d8e43bb2511df087342708f5fb51d28a7dff9008a1cf440390870a972
|
||||||
11fe9cdb031d0c387dfb366dc9cdbabadd129f5bbed34659868914058ada11c7
|
d021224bb87c30b73efcd302610af50a3e30f22b7521343eb295b5a3770c73d6
|
||||||
|
@ -1,37 +1,73 @@
|
|||||||
null root:root 666 @chmod 666 $MDEV
|
# Configuration based on 'mdev-like-a-boss'.
|
||||||
zero root:root 666
|
# https://github.com/slashbeast/mdev-like-a-boss/blob/master/mdev.conf
|
||||||
full root:root 666
|
|
||||||
|
|
||||||
random root:root 444
|
null root:root 666 @chmod 666 $MDEV
|
||||||
urandom root:root 444
|
zero root:root 666
|
||||||
kmem root:root 640
|
full root:root 666
|
||||||
mem root:root 640
|
random root:root 444
|
||||||
port root:root 640
|
urandom root:root 444
|
||||||
|
hwrandom root:root 444
|
||||||
|
grsec root:root 660
|
||||||
|
kmem root:root 640
|
||||||
|
mem root:root 640
|
||||||
|
|
||||||
console root:tty 600 @chmod 600 $MDEV
|
port root:root 640
|
||||||
ptmx root:tty 666
|
console root:tty 600 @chmod 600 $MDEV
|
||||||
pty.* root:tty 660
|
ptmx root:tty 666
|
||||||
|
pty.* root:tty 660
|
||||||
|
tty root:tty 666
|
||||||
|
tty[0-9]* root:tty 660
|
||||||
|
vcsa*[0-9]* root:tty 660
|
||||||
|
|
||||||
usbdev[0-9].[0-9]* root:root 660 !
|
# Kernel based virtual machine.
|
||||||
|
kvm root:kvm 660
|
||||||
|
vhost-net root:kvm 660
|
||||||
|
|
||||||
tty root:tty 666
|
# Block devices.
|
||||||
tty[0-9]* root:tty 660
|
ram([0-9]*) root:disk 660 >rd/%1
|
||||||
vcsa*[0-9]* root:tty 660
|
loop([0-9]+) root:disk 660 >loop/%1
|
||||||
|
sr[0-9]* root:cdrom 660 @ln -sf $MDEV cdrom
|
||||||
|
fd[0-9]* root:floppy 660
|
||||||
|
|
||||||
|
net/tun[0-9]* root:kvm 660
|
||||||
|
net/tap[0-9]* root:root 600
|
||||||
|
fuse root:root 666
|
||||||
|
agpgart root:root 660 >misc/
|
||||||
|
psaux root:root 660 >misc/
|
||||||
|
rtc root:root 664 >misc/
|
||||||
|
|
||||||
|
# Audio stuff.
|
||||||
|
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/
|
||||||
|
|
||||||
|
# Raid controllers.
|
||||||
|
cciss!(.*) root:disk 660 =cciss/%1
|
||||||
|
ida!(.*) root:disk 660 =ida/%1
|
||||||
|
rd!(.*) root:disk 660 =rd/%1
|
||||||
|
|
||||||
|
# Input stuff.
|
||||||
SUBSYSTEM=input;.* root:input 660
|
SUBSYSTEM=input;.* root:input 660
|
||||||
|
|
||||||
adsp root:audio 660 >sound/
|
# Video stuff.
|
||||||
audio root:audio 660 >sound/
|
card[0-9] root:video 660 =dri/
|
||||||
dsp root:audio 660 >sound/
|
vbi[0-9] root:video 660 >v4l/
|
||||||
mixer root:audio 660 >sound/
|
video[0-9] root:video 660 >v4l/
|
||||||
sequencer.* root:audio 660 >sound/
|
dri/.* root:video 660
|
||||||
|
|
||||||
card[0-9] root:video 660 =dri/
|
# Don't create old usbdev* devices.
|
||||||
|
usbdev[0-9].[0-9]* root:root 660 !
|
||||||
|
|
||||||
agpgart root:root 660 >misc/
|
# Stop creating x:x:x:x which looks like /dev/dm-*.
|
||||||
psaux root:root 660 >misc/
|
[0-9]+\:[0-9]+\:[0-9]+\:[0-9]+ root:root 660 !
|
||||||
rtc root:root 664 >misc/
|
|
||||||
|
|
||||||
dri/.* root:video 660
|
# /dev/cpu support.
|
||||||
snd/.* root:audio 660
|
microcode root:root 600 =cpu/
|
||||||
|
cpu([0-9]+) root:root 600 =cpu/%1/cpuid
|
||||||
|
msr([0-9]+) root:root 600 =cpu/%1/msr
|
||||||
|
|
||||||
|
# libudev-zero hotplug.
|
||||||
|
SUBSYSTEM=drm;.* root:video 660 *env > /tmp/.libudev-zero/uevent.$$
|
||||||
|
SUBSYSTEM=input;.* root:input 660 *env > /tmp/.libudev-zero/uevent.$$
|
||||||
|
Loading…
Reference in New Issue
Block a user