Changeset 111f2c6 in clfs-embedded for BOOK/bootscripts
- Timestamp:
- May 4, 2011, 4:09:50 AM (14 years ago)
- Branches:
- master
- Children:
- 3590aa2
- Parents:
- ba47a78
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/bootscripts/common/mdev.xml
rba47a78 r111f2c6 34 34 <screen os="b"><?dbfo keep-together="auto"?><userinput>cat > ${CLFS}/etc/mdev.conf<< "EOF" 35 35 <literal># /etc/mdev/conf 36 # Symlinks:37 # Syntax: %s -> %s38 39 MAKEDEV -> ../sbin/MAKEDEV40 /proc/core -> kcore41 fd -> /proc/self/fd42 mcdx -> mcdx043 radio -> radio044 ram -> ram145 sbpcd -> sbpcd046 sr0 -> scd047 sr1 -> scd148 sr10 -> scd1049 sr11 -> scd1150 sr12 -> scd1251 sr13 -> scd1352 sr14 -> scd1453 sr15 -> scd1554 sr16 -> scd1655 sr2 -> scd256 sr3 -> scd357 sr4 -> scd458 sr5 -> scd559 sr6 -> scd660 sr7 -> scd761 sr8 -> scd862 sr9 -> scd963 stderr -> fd/264 stdin -> fd/065 stdout -> fd/166 67 # Uncomment the following 4 lines to enable video output68 #vbi -> vbi069 #vcs -> vcs070 #vcsa -> vcsa071 #video -> video072 36 73 37 # Devices: … … 75 39 # devices user:group mode 76 40 77 null 0:0 777 78 zero 0:0 666 41 # null does already exist; therefore ownership has to be changed with command 42 null root:root 0666 @chmod 666 $MDEV 43 zero root:root 0666 44 grsec root:root 0660 45 full root:root 0666 79 46 80 urandom 0:0 444 47 random root:root 0666 48 urandom root:root 0444 49 hwrandom root:root 0660 81 50 82 console 0:5 0600 83 fd0 0:11 0660 84 hdc 0:6 0660 85 kmem 0:9 000 86 mem 0:9 0640 87 port 0:9 0640 88 ptmx 0:5 0660 89 tun[0-9]* 0:0 0640 =net/ 51 # console does already exist; therefore ownership has to be changed with command 52 #console root:tty 0600 @chmod 600 $MDEV && mkdir -p vc && ln -sf ../$MDEV vc/0 53 console root:tty 0600 @mkdir -pm 755 fd && cd fd && for x in 0 1 2 3 ; do ln -sf /proc/self/fd/$x $x; done 90 54 91 sda* 0:6 0660 92 sdb* 0:6 0660 93 hda* 0:6 0660 94 hdb* 0:6 0660 55 fd0 root:floppy 0660 56 kmem root:root 0640 57 mem root:root 0640 58 port root:root 0640 59 ptmx root:tty 0666 95 60 96 tty 0:5 0660 97 tty0* 0:5 0660 98 tty1* 0:5 0660 99 tty2* 0:5 0660 100 tty3* 0:5 0660 101 tty4* 0:5 0660 102 tty5* 0:5 0660 103 tty6* 0:5 0660 61 # ram.* 62 ram([0-9]*) root:disk 0660 >rd/%1 63 loop([0-9]+) root:disk 0660 >loop/%1 64 sd[a-z].* root:disk 0660 */lib/mdev/usbdisk_link 65 hd[a-z][0-9]* root:disk 0660 */lib/mdev/ide_links 66 md[0-9] root:disk 0660 104 67 105 ttyS* 0:20 640</literal> 68 tty root:tty 0666 69 tty[0-9] root:root 0600 70 tty[0-9][0-9] root:tty 0660 71 ttyS[0-9]* root:tty 0660 72 pty.* root:tty 0660 73 vcs[0-9]* root:tty 0660 74 vcsa[0-9]* root:tty 0660 75 76 ttyLTM[0-9] root:dialout 0660 @ln -sf $MDEV modem 77 ttySHSF[0-9] root:dialout 0660 @ln -sf $MDEV modem 78 slamr root:dialout 0660 @ln -sf $MDEV slamr0 79 slusb root:dialout 0660 @ln -sf $MDEV slusb0 80 fuse root:root 0666 81 82 # dri device 83 card[0-9] root:video 0660 =dri/ 84 85 # alsa sound devices and audio stuff 86 pcm.* root:audio 0660 =snd/ 87 control.* root:audio 0660 =snd/ 88 midi.* root:audio 0660 =snd/ 89 seq root:audio 0660 =snd/ 90 timer root:audio 0660 =snd/ 91 92 adsp root:audio 0660 >sound/ 93 audio root:audio 0660 >sound/ 94 dsp root:audio 0660 >sound/ 95 mixer root:audio 0660 >sound/ 96 sequencer.* root:audio 0660 >sound/ 97 98 # misc stuff 99 agpgart root:root 0660 >misc/ 100 psaux root:root 0660 >misc/ 101 rtc root:root 0664 >misc/ 102 103 # input stuff 104 event[0-9]+ root:root 0640 =input/ 105 mice root:root 0640 =input/ 106 mouse[0-9] root:root 0640 =input/ 107 ts[0-9] root:root 0600 =input/ 108 109 # v4l stuff 110 vbi[0-9] root:video 0660 >v4l/ 111 video[0-9] root:video 0660 >v4l/ 112 113 # dvb stuff 114 dvb.* root:video 0660 */lib/mdev/dvbdev 115 116 # load drivers for usb devices 117 usbdev[0-9].[0-9] root:root 0660 */lib/mdev/usbdev 118 usbdev[0-9].[0-9]_.* root:root 0660 119 120 # net devices 121 tun[0-9]* root:root 0600 =net/ 122 tap[0-9]* root:root 0600 =net/ 123 124 # zaptel devices 125 zap(.*) root:dialout 0660 =zap/%1 126 dahdi!(.*) root:dialout 0660 =dahdi/%1 127 128 # raid controllers 129 cciss!(.*) root:disk 0660 =cciss/%1 130 ida!(.*) root:disk 0660 =ida/%1 131 rd!(.*) root:disk 0660 =rd/%1 132 133 sr[0-9] root:cdrom 0660 @ln -sf $MDEV cdrom 134 135 # hpilo 136 hpilo!(.*) root:root 0660 =hpilo/%1 137 138 # xen stuff 139 xvd[a-z] root:root 0660 */lib/mdev/xvd_links</literal> 106 140 EOF</userinput></screen> 107 141
Note:
See TracChangeset
for help on using the changeset viewer.