mdev.conf (4070B)
1 # 2 # mdev.conf 3 # 4 5 $MODALIAS=.* root:root 660 @/bin/busybox modprobe "$MODALIAS" 6 7 # tty 8 # TODO: add char/X:X 9 console root:tty 600 @chmod 600 $MDEV 10 pty.* root:tty 660 11 ptmx root:tty 666 12 tty root:tty 666 13 tty[0-9]* root:tty 620 14 vcs root:tty 660 15 vcs[0-9]* root:tty 660 16 vcsa root:tty 660 17 vcsa[0-9]* root:tty 660 18 19 # serial 20 ttyS[0-9]* root:uucp 660 21 ppox[0-9]* root:uucp 660 22 ircomm[0-9]* root:uucp 660 23 noz[0-9]* root:uucp 660 24 rfcomm[0-9]* root:uucp 660 25 mwave root:uucp 660 26 hvc.* root:uucp 660 27 hvsi.* root:uucp 660 28 29 ttyUSB[0-9]* root:uucp 660 30 ttyACM[0-9]* root:uucp 660 31 32 ttyLTM[0-9]* root:uucp 660 33 ttySHSF[0-9]* root:uucp 660 34 slamr root:uucp 660 35 slusb root:uucp 660 36 37 # virtio serial 38 vport.* root:root 660 39 40 # mem 41 null root:root 666 @chmod 666 $MDEV 42 zero root:root 666 43 full root:root 666 44 random root:root 666 45 urandom root:root 666 46 hwrandom root:root 444 47 hw_random root:root 444 =hwrng 48 grsec root:root 660 49 mem root:kmem 640 50 kmem root:kmem 640 51 port root:kmem 640 52 nvram root:kmem 640 53 54 # input 55 input/event[0-9]* root:root 640 */lib/mdev/inputdev 56 input/js[0-9]* root:root 644 57 input/.* root:root 640 58 59 # v4l 60 vttuner.* root:video 660 >v4l/ 61 video.* root:video 660 >v4l/ 62 vtx.* root:video 660 >v4l/ 63 vbi.* root:video 660 >v4l/ 64 winradio.* root:video 660 >v4l/ 65 v4l.* root:video 660 >v4l/ 66 67 # graphics 68 agpgart root:video 660 69 pmu root:video 660 70 nvidia.* root:video 660 71 nvidiactl.* root:video 660 72 fb[0-9]* root:video 660 73 74 # dri 75 card[0-9]* root:video 660 =dri/ 76 controlD[0-9]* root:video 660 =dri/ 77 78 # dvb 79 dvb.* root:video 660 */lib/mdev/dvbdev 80 81 # usb 82 bus/usb/.* root:usb 665 */lib/mdev/usb 83 84 # printer 85 parport[0-9]* root:lp 660 86 parport_pc root:lp 660 87 lp[0-9]* root:lp 660 88 irlpt[0-9]* root:lp 660 89 90 # block devices 91 ram[0-9]* root:disk 660 92 loop[0-9]* root:disk 660 93 sd[!a-z].* root:disk 660 */lib/mdev/sddev 94 hd[!a-z].* root:disk 660 */lib/mdev/hddev 95 control root:root 000 =mapper/ 96 md.* root:disk 660 97 mtd.* root:disk 660 98 ndb.* root:disk 660 99 gnbd.* root:disk 660 100 btibm.* root:disk 660 101 dm-.* root:disk 660 102 vd.* root:disk 660 103 sg.* root:disk 660 104 105 # floppy 106 fd[0-9] root:floppy 660 107 108 # optical 109 sr[0-9]* root:optical 660 @ln -sf $MDEV optical 110 pktcdvd[0-9]* root:optical 660 =pktcdvd/ 111 pktcdvd root:optical 660 =pktcdvd/control 112 113 # tape 114 ht[0-9]* root:tape 660 115 nht[0-9]* root:tape 660 116 pt[0-9]* root:tape 660 117 npt[0-9]* root:tape 660 118 pht[0-9]* root:tape 660 119 st*[0-9]* root:tape 660 120 nst*[0-9]* root:tape 660 121 122 # block-related 123 scsi.*/.* root:disk 660 ! 124 bdi.*/.* root:disk 660 ! 125 126 sch[0-9]* root:disk 660 127 pg[0-9]* root:disk 660 128 129 qft[0-9]* root:disk 660 130 nqft[0-9]* root:disk 660 131 zqft[0-9]* root:disk 660 132 nzqft[0-9]* root:disk 660 133 rawqft[0-9]* root:disk 660 134 nrawqft[0-9]* root:disk 660 135 136 rawctl root:disk 660 =raw/ 137 raw[0-9]* root:disk 660 =raw/ 138 aoe.* root:disk 660 =etherd/ 139 bsg/.* root:disk 660 =bsg/ 140 141 # audio 142 snd/.* root:audio 660 143 144 hpet root:audio 660 145 146 adsp root:audio 660 147 audio root:audio 660 148 dsp root:audio 660 149 mixer root:audio 660 150 sequencer.* root:audio 660 151 152 # network 153 -net/.* root:root 600 @nameif 154 tun root:root 666 =net/ 155 tun[0-9]* root:root 600 =net/ 156 tap[0-9]* root:root 600 =net/ 157 rfkill root:rfkill 64 158 159 # cpu 160 cpu([0-9]+) root:root 444 =cpu/%1/cpuid 161 msr([0-9]+) root:root 600 =cpu/%1/msr 162 microcode root:root 600 =cpu/microcode 163 164 # fuse 165 fuse root:root 666 @/bin/mount -t fusectl fusectl /sys/fs/fuse/connections 166 167 # raid controllers 168 cciss.* root:disk 660 169 ida.* root:disk 660 170 rd.* root:disk 660 171 172 # misc 173 ppp root:root 000 174 kvm root:kvm 660 175 rtc root:root 664 176 rtc[0-9]* root:root 664 @ln -sf $MDEV rtc 177 mmtimer root:root 644 178 rflash[0-9]* root:root 400 179 rrom[0-9]* root:root 400 180 181 auer[0-9]* root:root 660 =usb/ 182 sxctl root:root 660 =specialix_sxctl 183 rioctl root:root 660 =specialix_rioctl 184 iowarrior[0-9]* root:root 660 =usb/ 185 hiddev[0-9]* root:root 660 =usb/ 186 legousbtower[0-9]* root:root 660 =usb/ 187 dabusb[0-9]* root:root 660 =usb/ 188 usbdpfp[0-9]* root:root 660 =usb/ 189 cpad[0-9]* root:root 660 =usb/ 190 191 # arch 192 sgi_.* root:root 666 193 iseries/ibmsis.* root:disk 660 194 iseries/nvt.* root:disk 660 195 iseries/vt.* root:disk 660 196 iseries/vtty.* root:uucp 660 197 z90crypt root:root 666 198