~qbalazs/installation-guide/lp1030336

« back to all changes in this revision

Viewing changes to da/appendix/files.xml

  • Committer: joeyh
  • Date: 2005-10-07 19:51:38 UTC
  • Revision ID: vcs-imports@canonical.com-20051007195138-c3d57b2617a79a4f
move manual to top-level directory, split out of debian-installer package

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!-- retain these comments for translator revision tracking -->
 
2
<!-- original version: 18647 untranslated -->
 
3
 
 
4
 
 
5
 <sect1 id="linuxdevices"><title>Linux Devices</title>
 
6
<para>
 
7
 
 
8
In Linux you have various special files in
 
9
<filename>/dev</filename>. These files are called devices files. In
 
10
the Unix world accessing hardware is different.  There you have a
 
11
special file which actually runs a driver which in turn accesses the
 
12
hardware. The device file is an interface to the actual system
 
13
component. Files under <filename>/dev</filename> also behave
 
14
differently than ordinary files. Below are the most important device
 
15
files listed.
 
16
 
 
17
</para><para>
 
18
 
 
19
<informaltable><tgroup cols="2"><tbody>
 
20
<row>
 
21
  <entry><filename>fd0</filename></entry>
 
22
  <entry>First Floppy Drive</entry>
 
23
</row><row>
 
24
  <entry><filename>fd1</filename></entry>
 
25
  <entry>Second Floppy Drive</entry>
 
26
</row>
 
27
</tbody></tgroup></informaltable>
 
28
 
 
29
<informaltable><tgroup cols="2"><tbody>
 
30
<row>
 
31
  <entry><filename>hda</filename></entry>
 
32
  <entry>IDE Hard disk / CD-ROM on the first IDE port (Master)</entry>
 
33
</row><row>
 
34
  <entry><filename>hdb</filename></entry>
 
35
  <entry>IDE Hard disk / CD-ROM on the first IDE port (Slave)</entry>
 
36
</row><row>
 
37
  <entry><filename>hdc</filename></entry>
 
38
  <entry>IDE Hard disk / CD-ROM on the second IDE port (Master)</entry>
 
39
</row><row>
 
40
  <entry><filename>hdd</filename></entry>
 
41
  <entry>IDE Hard disk / CD-ROM on the second IDE port (Slave)</entry>
 
42
</row><row>
 
43
  <entry><filename>hda1</filename></entry>
 
44
  <entry>First partition of the first IDE hard disk</entry>
 
45
</row><row>
 
46
  <entry><filename>hdd15</filename></entry>
 
47
  <entry>Fifteenth partition of the fourth IDE hard disk</entry>
 
48
</row>
 
49
</tbody></tgroup></informaltable>
 
50
 
 
51
<informaltable><tgroup cols="2"><tbody>
 
52
<row>
 
53
  <entry><filename>sda</filename></entry>
 
54
  <entry>SCSI Hard disk with lowest SCSI ID (e.g. 0)</entry>
 
55
</row><row>
 
56
  <entry><filename>sdb</filename></entry>
 
57
  <entry>SCSI Hard disk with next higher SCSI ID (e.g. 1)</entry>
 
58
</row><row>
 
59
  <entry><filename>sdc</filename></entry>
 
60
  <entry>SCSI Hard disk with next higher SCSI ID (e.g. 2)</entry>
 
61
</row><row>
 
62
  <entry><filename>sda1</filename></entry>
 
63
  <entry>First partition of the first SCSI hard disk</entry>
 
64
</row><row>
 
65
  <entry><filename>sdd10</filename></entry>
 
66
  <entry>Tenth partition of the fourth SCSI hard disk</entry>
 
67
</row>
 
68
</tbody></tgroup></informaltable>
 
69
 
 
70
<informaltable><tgroup cols="2"><tbody>
 
71
<row>
 
72
  <entry><filename>sr0</filename></entry>
 
73
  <entry>SCSI CD-ROM with the lowest SCSI ID</entry>
 
74
</row><row>
 
75
  <entry><filename>sr1</filename></entry>
 
76
  <entry>SCSI CD-ROM with the next higher SCSI ID</entry>
 
77
</row>
 
78
</tbody></tgroup></informaltable>
 
79
 
 
80
<informaltable><tgroup cols="2"><tbody>
 
81
<row>
 
82
  <entry><filename>ttyS0</filename></entry>
 
83
  <entry>Serial port 0, COM1 under MS-DOS</entry>
 
84
</row><row>
 
85
  <entry><filename>ttyS1</filename></entry>
 
86
  <entry>Serial port 1, COM2 under MS-DOS</entry>
 
87
</row><row>
 
88
  <entry><filename>psaux</filename></entry>
 
89
  <entry>PS/2 mouse device</entry>
 
90
</row><row>
 
91
  <entry><filename>gpmdata</filename></entry>
 
92
  <entry>Pseudo device, repeater data from GPM (mouse) daemon</entry>
 
93
</row>
 
94
</tbody></tgroup></informaltable>
 
95
 
 
96
<informaltable><tgroup cols="2"><tbody>
 
97
<row>
 
98
  <entry><filename>cdrom</filename></entry>
 
99
  <entry>Symbolic link to the CD-ROM drive</entry>
 
100
</row><row>
 
101
  <entry><filename>mouse</filename></entry>
 
102
  <entry>Symbolic link to the mouse device file</entry>
 
103
</row>
 
104
</tbody></tgroup></informaltable>
 
105
 
 
106
<informaltable><tgroup cols="2"><tbody>
 
107
<row>
 
108
  <entry><filename>null</filename></entry>
 
109
  <entry>Everything pointed to this device will disappear</entry>
 
110
</row><row>
 
111
  <entry><filename>zero</filename></entry>
 
112
  <entry>One can endlessly read zeros out of this device</entry>
 
113
</row>
 
114
</tbody></tgroup></informaltable>
 
115
 
 
116
</para>
 
117
 
 
118
  <sect2>
 
119
<title>Setting Up Your Mouse</title>
 
120
 
 
121
<para>
 
122
 
 
123
The mouse can be used in both the Linux console (with gpm) and the X window
 
124
environment. The two uses can be made compatible if the gpm repeater is used
 
125
to allow the signal to flow to the X server as shown:
 
126
<informalexample><screen>
 
127
mouse =&#62; /dev/psaux  =&#62; gpm =&#62; /dev/gpmdata -&#62; /dev/mouse =&#62; X
 
128
         /dev/ttyS0             (repeater)        (symlink)
 
129
         /dev/ttyS1
 
130
</screen></informalexample>
 
131
 
 
132
</para><para>
 
133
 
 
134
Set the repeater protocol to be raw (in <filename>/etc/gpm.conf</filename>) while
 
135
setting X to the original mouse protocol in <filename>/etc/X11/XF86Config</filename>
 
136
or <filename>/etc/X11/XF86Config-4</filename>.
 
137
 
 
138
</para><para>
 
139
 
 
140
This approach to use gpm even in X has advantages when the mouse is
 
141
unplugged inadvertently.  Simply restarting gpm with
 
142
<informalexample><screen>
 
143
user@debian:# /etc/init.d/gpm restart
 
144
</screen></informalexample>
 
145
will re-connect the mouse in software without restarting X.
 
146
 
 
147
</para><para>
 
148
 
 
149
If gpm is disabled or not installed with some reason, make sure to set X to
 
150
read directly from the mouse device such as /dev/psaux. For details, refer
 
151
to the 3-Button Mouse mini-Howto at
 
152
<filename>/usr/share/doc/HOWTO/en-txt/mini/3-Button-Mouse.gz</filename>, 
 
153
<userinput>man gpm</userinput>, 
 
154
<filename>/usr/share/doc/gpm/FAQ.gz</filename>, and 
 
155
<ulink url="&url-xfree86;current/mouse.html">README.mouse</ulink>.
 
156
 
 
157
</para><para arch="powerpc">
 
158
 
 
159
For PowerPC, in <filename>/etc/X11/XF86Config</filename> or
 
160
<filename>/etc/X11/XF86Config-4</filename>, set the mouse device to
 
161
<userinput>"/dev/input/mice"</userinput>. 
 
162
 
 
163
</para><para arch="powerpc">
 
164
 
 
165
Modern kernels give you the capability to emulate a three-button mouse
 
166
when your mouse only has one button. Just add the following lines to
 
167
<filename>/etc/sysctl.conf</filename> file.
 
168
 
 
169
<informalexample><screen>
 
170
 
 
171
# 3-button mouse emulation 
 
172
# turn on emulation
 
173
/dev/mac_hid/mouse_button_emulation = 1
 
174
# Send middle mouse button signal with the F11 key
 
175
/dev/mac_hid/mouse_button2_keycode = 87
 
176
# Send right mouse button signal with the F12 key
 
177
/dev/mac_hid/mouse_button3_keycode = 88
 
178
# For different keys, use showkey to tell you what the code is.
 
179
 
 
180
</screen></informalexample>  
 
181
</para>
 
182
  </sect2>
 
183
 </sect1>
 
184
 
 
185
 <sect1 id="tasksel-size-list">
 
186
 <title>Disk Space Needed for Tasks</title>
 
187
<para>
 
188
 
 
189
The base sarge installation for i386, including all standard packages,
 
190
requires 178MB of disk space.
 
191
 
 
192
</para><para>
 
193
 
 
194
The following table lists sizes reported by aptitude for the tasks listed in
 
195
tasksel. Note that some tasks have overlapping constituents, so the total
 
196
installed size for two tasks together may be less than the total obtained by
 
197
adding the numbers up. 
 
198
 
 
199
</para><para>
 
200
 
 
201
<informalexample><screen>
 
202
Task                              Installed  Download   Space Needed 
 
203
                                  Size (MB)  Size (MB)  To Install (MB)
 
204
 
 
205
Desktop                            1537        521        2058
 
206
Web server                           71         21          92
 
207
Print server                        240         83         323
 
208
Mail server                          41         12          53
 
209
File server                          85         34         119
 
210
SQL database                        108         33         141
 
211
 
 
212
</screen></informalexample>
 
213
</para>
 
214
 </sect1>