source: clfs-embedded/BOOK/bootscripts/common/mdev.xml@ 79c069a

Last change on this file since 79c069a was b836e1e, checked in by Andrew Bradford <bradfa@…>, 14 years ago

Made mdev video output not enabled by default

Default configuration should not throw errors but may not be fully
featured. Changed mdev.conf to comment out video output lines by default
and have a note to uncomment to enable video output. In this way,
a board with or without video output will boot without errors.

  • Property mode set to 100644
File size: 1.9 KB
RevLine 
[1d67150]1<?xml version="1.0" encoding="ISO-8859-1"?>
[bd48e48]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[1d67150]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-scripts-mdev">
9 <?dbhtml filename="mdev.html"?>
10
[75a41b8]11 <title>Configure mdev</title>
[1d67150]12
13 <indexterm zone="ch-scripts-mdev">
[75a41b8]14 <primary sortas="a-mdev">mdev</primary>
[1d67150]15 </indexterm>
16
17 <sect2 role="package">
18 <title/>
19
20 <para>Is a Busybox replacement of udev. With a different rule
21 base.</para>
22
23 </sect2>
24
25 <sect2>
[3ca2208]26 <title>Creating /etc/mdev.conf</title>
27
28 <indexterm zone="ch-scripts-mdev">
29 <primary sortas="e-/etc/mdev.conf">/etc/mdev.conf</primary>
30 </indexterm>
[1d67150]31
32<para os="a">Now we will create the mdev.conf file for use with our system:</para>
33
[3ca2208]34<screen os="b"><?dbfo keep-together="auto"?><userinput>cat &gt; ${CLFS}/etc/mdev.conf&lt;&lt; "EOF"
[1d67150]35<literal># /etc/mdev/conf
36# Symlinks:
37# Syntax: %s -> %s
38
39MAKEDEV -> ../sbin/MAKEDEV
40/proc/core -> kcore
41fd -> /proc/self/fd
42mcdx -> mcdx0
43radio -> radio0
44ram -> ram1
45sbpcd -> sbpcd0
46sr0 -> scd0
47sr1 -> scd1
48sr10 -> scd10
49sr11 -> scd11
50sr12 -> scd12
51sr13 -> scd13
52sr14 -> scd14
53sr15 -> scd15
54sr16 -> scd16
55sr2 -> scd2
56sr3 -> scd3
57sr4 -> scd4
58sr5 -> scd5
59sr6 -> scd6
60sr7 -> scd7
61sr8 -> scd8
62sr9 -> scd9
63stderr -> fd/2
64stdin -> fd/0
65stdout -> fd/1
66
[b836e1e]67# Uncomment the following 4 lines to enable video output
68#vbi -> vbi0
69#vcs -> vcs0
70#vcsa -> vcsa0
71#video -> video0
[1d67150]72
73# Devices:
74# Syntax: %s %d:%d %s
75# devices user:group mode
76
77null 0:0 777
78zero 0:0 666
79
80urandom 0:0 444
81
82console 0:5 0600
83fd0 0:11 0660
84hdc 0:6 0660
85kmem 0:9 000
86mem 0:9 0640
87port 0:9 0640
88ptmx 0:5 0660
[1f35837]89tun[0-9]* 0:0 0640 =net/
[1d67150]90
91sda* 0:6 0660
92sdb* 0:6 0660
93hda* 0:6 0660
94hdb* 0:6 0660
95
96tty 0:5 0660
97tty0* 0:5 0660
98tty1* 0:5 0660
99tty2* 0:5 0660
100tty3* 0:5 0660
101tty4* 0:5 0660
102tty5* 0:5 0660
103tty6* 0:5 0660
104
105ttyS* 0:20 640</literal>
106EOF</userinput></screen>
107
108 </sect2>
109
110</sect1>
111
Note: See TracBrowser for help on using the repository browser.