This commit is contained in:
illiliti 2020-02-24 18:48:44 +03:00
parent b093c7a45c
commit fc870ea514

View File

@ -46,13 +46,6 @@ random 0:0 444
urandom 0:0 444
hwrandom 0:0 444
grsec 0:0 660
# Kernel-based Virtual Machine.
#kvm root:kvm 660
# vhost-net, to be used with kvm.
#vhost-net root:kvm 660
kmem 0:0 640
mem 0:0 640
port 0:0 640
@ -61,7 +54,7 @@ console 0:5 600 @chmod 600 $MDEV
ptmx 0:5 666
pty.* 0:5 660
# Typical devices
# typical devices
tty 0:5 666
tty[0-9]* 0:5 660
vcsa*[0-9]* 0:5 660
@ -74,33 +67,13 @@ sr[0-9]* 0:16 660 @ln -sf $MDEV cdrom
fd[0-9]* 0:8 660
SUBSYSTEM=block;.* 0:9 660 */lib/mdev/storage-device
# Run settle-nics every time new NIC appear.
# If you don't want to auto-populate /etc/mactab with NICs, run 'settle-nis' without '--write-mactab' param.
#-SUBSYSTEM=net;DEVPATH=.*/net/.*;.* 0:0 600 @/lib/mdev/settle-nics --write-mactab
#net/tun[0-9]* root:kvm 660
#net/tap[0-9]* 0:0 600
# alsa sound devices and audio stuff
#SUBSYSTEM=sound;.* root:audio 660 @/lib/mdev/sound-control
#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!(.*) 0:9 660 =cciss/%1
ida!(.*) 0:9 660 =ida/%1
rd!(.*) 0:9 660 =rd/%1
#fuse 0:0 666
# graphics
card[0-9] 0:13 660 =dri/
agpgart 0:0 660 >misc/
psaux 0:0 660 >misc/
rtc 0:0 664 >misc/
@ -108,29 +81,16 @@ rtc 0:0 664 >misc/
# input stuff
SUBSYSTEM=input;.* 0:25 660
# v4l stuff
#vbi[0-9] 0:13 660 >v4l/
#video[0-9] 0:13 660 >v4l/
# dvb stuff
#dvb.* 0:13 660
# drm etc
dri/.* 0:13 660
# Don't create old usbdev* devices.
# don't create old usbdev* devices.
usbdev[0-9].[0-9]* 0:0 660 !
# Stop creating x:x:x:x which looks like /dev/dm-*
# stop creating x:x:x:x which looks like /dev/dm-*
[0-9]+\:[0-9]+\:[0-9]+\:[0-9]+ 0:0 660 !
# /dev/cpu support.
microcode 0:0 600 =cpu/
cpu([0-9]+) 0:0 600 =cpu/%1/cpuid
msr([0-9]+) 0:0 600 =cpu/%1/msr
# Populate /dev/bus/usb.
#SUBSYSTEM=usb;DEVTYPE=usb_device;.* 0:0 660 */lib/mdev/dev-bus-usb
# Catch-all other devices, Right now useful only for debuging.
#.* 0:0 660 */opt/mdev/helpers/catch-all