Last change
on this file since fb6d46f was 3ca2208, checked in by Manuel Canales Esparcia <manuel@…>, 17 years ago |
Several fixes for PDF look.
|
-
Property mode
set to
100644
|
File size:
2.0 KB
|
Line | |
---|
1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/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>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>
|
---|
31 |
|
---|
32 | <para os="a">Now we will create the mdev.conf file for use with our system:</para>
|
---|
33 |
|
---|
34 | <screen os="b"><?dbfo keep-together="auto"?><userinput>cat > ${CLFS}/etc/mdev.conf<< "EOF"
|
---|
35 | <literal># /etc/mdev/conf
|
---|
36 | SLEEP=10
|
---|
37 |
|
---|
38 | # Symlinks:
|
---|
39 | # Syntax: %s -> %s
|
---|
40 |
|
---|
41 | MAKEDEV -> ../sbin/MAKEDEV
|
---|
42 | /proc/core -> kcore
|
---|
43 | fd -> /proc/self/fd
|
---|
44 | mcdx -> mcdx0
|
---|
45 | radio -> radio0
|
---|
46 | ram -> ram1
|
---|
47 | sbpcd -> sbpcd0
|
---|
48 | sr0 -> scd0
|
---|
49 | sr1 -> scd1
|
---|
50 | sr10 -> scd10
|
---|
51 | sr11 -> scd11
|
---|
52 | sr12 -> scd12
|
---|
53 | sr13 -> scd13
|
---|
54 | sr14 -> scd14
|
---|
55 | sr15 -> scd15
|
---|
56 | sr16 -> scd16
|
---|
57 | sr2 -> scd2
|
---|
58 | sr3 -> scd3
|
---|
59 | sr4 -> scd4
|
---|
60 | sr5 -> scd5
|
---|
61 | sr6 -> scd6
|
---|
62 | sr7 -> scd7
|
---|
63 | sr8 -> scd8
|
---|
64 | sr9 -> scd9
|
---|
65 | stderr -> fd/2
|
---|
66 | stdin -> fd/0
|
---|
67 | stdout -> fd/1
|
---|
68 |
|
---|
69 | # Remove these devices, if using a headless system
|
---|
70 | # You will see an error mdev: Bad line 35
|
---|
71 | vbi -> vbi0
|
---|
72 | vcs -> vcs0
|
---|
73 | vcsa -> vcsa0
|
---|
74 | video -> video0
|
---|
75 | # Stop Remove for headless system
|
---|
76 |
|
---|
77 | # Devices:
|
---|
78 | # Syntax: %s %d:%d %s
|
---|
79 | # devices user:group mode
|
---|
80 |
|
---|
81 | null 0:0 777
|
---|
82 | zero 0:0 666
|
---|
83 |
|
---|
84 | urandom 0:0 444
|
---|
85 |
|
---|
86 | console 0:5 0600
|
---|
87 | fd0 0:11 0660
|
---|
88 | hdc 0:6 0660
|
---|
89 | kmem 0:9 000
|
---|
90 | mem 0:9 0640
|
---|
91 | port 0:9 0640
|
---|
92 | ptmx 0:5 0660
|
---|
93 |
|
---|
94 | sda* 0:6 0660
|
---|
95 | sdb* 0:6 0660
|
---|
96 | hda* 0:6 0660
|
---|
97 | hdb* 0:6 0660
|
---|
98 |
|
---|
99 | tty 0:5 0660
|
---|
100 | tty0* 0:5 0660
|
---|
101 | tty1* 0:5 0660
|
---|
102 | tty2* 0:5 0660
|
---|
103 | tty3* 0:5 0660
|
---|
104 | tty4* 0:5 0660
|
---|
105 | tty5* 0:5 0660
|
---|
106 | tty6* 0:5 0660
|
---|
107 |
|
---|
108 | ttyS* 0:20 640</literal>
|
---|
109 | EOF</userinput></screen>
|
---|
110 |
|
---|
111 | </sect2>
|
---|
112 |
|
---|
113 | </sect1>
|
---|
114 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.