Last change
on this file since 3aa2e2f 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 > ${CLFS}/etc/mdev.conf<< "EOF"
|
---|
31 | <literal># /etc/mdev/conf
|
---|
32 | SLEEP=10
|
---|
33 |
|
---|
34 | # Symlinks:
|
---|
35 | # Syntax: %s -> %s
|
---|
36 |
|
---|
37 | MAKEDEV -> ../sbin/MAKEDEV
|
---|
38 | /proc/core -> kcore
|
---|
39 | fd -> /proc/self/fd
|
---|
40 | mcdx -> mcdx0
|
---|
41 | radio -> radio0
|
---|
42 | ram -> ram1
|
---|
43 | sbpcd -> sbpcd0
|
---|
44 | sr0 -> scd0
|
---|
45 | sr1 -> scd1
|
---|
46 | sr10 -> scd10
|
---|
47 | sr11 -> scd11
|
---|
48 | sr12 -> scd12
|
---|
49 | sr13 -> scd13
|
---|
50 | sr14 -> scd14
|
---|
51 | sr15 -> scd15
|
---|
52 | sr16 -> scd16
|
---|
53 | sr2 -> scd2
|
---|
54 | sr3 -> scd3
|
---|
55 | sr4 -> scd4
|
---|
56 | sr5 -> scd5
|
---|
57 | sr6 -> scd6
|
---|
58 | sr7 -> scd7
|
---|
59 | sr8 -> scd8
|
---|
60 | sr9 -> scd9
|
---|
61 | stderr -> fd/2
|
---|
62 | stdin -> fd/0
|
---|
63 | stdout -> fd/1
|
---|
64 |
|
---|
65 | # Remove these devices, if using a headless system
|
---|
66 | # You will see an error mdev: Bad line 35
|
---|
67 | vbi -> vbi0
|
---|
68 | vcs -> vcs0
|
---|
69 | vcsa -> vcsa0
|
---|
70 | video -> video0
|
---|
71 | # Stop Remove for headless system
|
---|
72 |
|
---|
73 | # Devices:
|
---|
74 | # Syntax: %s %d:%d %s
|
---|
75 | # devices user:group mode
|
---|
76 |
|
---|
77 | null 0:0 777
|
---|
78 | zero 0:0 666
|
---|
79 |
|
---|
80 | urandom 0:0 444
|
---|
81 |
|
---|
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 |
|
---|
90 | sda* 0:6 0660
|
---|
91 | sdb* 0:6 0660
|
---|
92 | hda* 0:6 0660
|
---|
93 | hdb* 0:6 0660
|
---|
94 |
|
---|
95 | tty 0:5 0660
|
---|
96 | tty0* 0:5 0660
|
---|
97 | tty1* 0:5 0660
|
---|
98 | tty2* 0:5 0660
|
---|
99 | tty3* 0:5 0660
|
---|
100 | tty4* 0:5 0660
|
---|
101 | tty5* 0:5 0660
|
---|
102 | tty6* 0:5 0660
|
---|
103 |
|
---|
104 | ttyS* 0:20 640</literal>
|
---|
105 | EOF</userinput></screen>
|
---|
106 |
|
---|
107 | </sect2>
|
---|
108 |
|
---|
109 | </sect1>
|
---|
110 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.