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

Last change on this file since af731af was 75a41b8, checked in by Jim Gifford <clfs@…>, 18 years ago

Updated Some Page Titles

  • Property mode set to 100644
File size: 1.8 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-scripts-mdev">
9 <?dbhtml filename="mdev.html"?>
10
11 <title>Configure mdev</title>
12
13 <indexterm zone="ch-scripts-mdev">
14 <primary sortas="a-mdev">mdev</primary>
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>
26 <title>Create /etc/mdev.conf</title>
27
28<para os="a">Now we will create the mdev.conf file for use with our system:</para>
29
30<screen os="b"><userinput>cat &gt; ${CLFS}/etc/mdev.conf&lt;&lt; "EOF"
31<literal># /etc/mdev/conf
32SLEEP=10
33
34# Symlinks:
35# Syntax: %s -> %s
36
37MAKEDEV -> ../sbin/MAKEDEV
38/proc/core -> kcore
39fd -> /proc/self/fd
40mcdx -> mcdx0
41radio -> radio0
42ram -> ram1
43sbpcd -> sbpcd0
44sr0 -> scd0
45sr1 -> scd1
46sr10 -> scd10
47sr11 -> scd11
48sr12 -> scd12
49sr13 -> scd13
50sr14 -> scd14
51sr15 -> scd15
52sr16 -> scd16
53sr2 -> scd2
54sr3 -> scd3
55sr4 -> scd4
56sr5 -> scd5
57sr6 -> scd6
58sr7 -> scd7
59sr8 -> scd8
60sr9 -> scd9
61stderr -> fd/2
62stdin -> fd/0
63stdout -> fd/1
64
65# Remove these devices, if using a headless system
66# You will see an error mdev: Bad line 35
67vbi -> vbi0
68vcs -> vcs0
69vcsa -> vcsa0
70video -> video0
71# Stop Remove for headless system
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
89
90sda* 0:6 0660
91sdb* 0:6 0660
92hda* 0:6 0660
93hdb* 0:6 0660
94
95tty 0:5 0660
96tty0* 0:5 0660
97tty1* 0:5 0660
98tty2* 0:5 0660
99tty3* 0:5 0660
100tty4* 0:5 0660
101tty5* 0:5 0660
102tty6* 0:5 0660
103
104ttyS* 0:20 640</literal>
105EOF</userinput></screen>
106
107 </sect2>
108
109</sect1>
110
Note: See TracBrowser for help on using the repository browser.