/[d-i]/trunk/manual/en/appendix/files.xml
ViewVC logotype

Contents of /trunk/manual/en/appendix/files.xml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 43841 - (hide annotations) (download) (as text)
Thu Jan 4 01:45:08 2007 UTC (6 years, 4 months ago) by fjp
File MIME type: text/xml
File size: 10042 byte(s)
Fix some typos spotted by Davide Viti
1 toff 3352 <!-- retain these comments for translator revision tracking -->
2 joeyh 11648 <!-- $Id$ -->
3 toff 3352
4    
5     <sect1 id="linuxdevices"><title>Linux Devices</title>
6     <para>
7    
8 fjp 39551 In Linux various special files can be found under the directory
9     <filename>/dev</filename>. These files are called device files and
10     behave unlike ordinary files. The most common types of device files
11     are for block devices and character devices. These files are an
12     interface to the actual driver (part of the Linux kernel) which in
13     turn accesses the hardware. Another, less common, type of device file
14     is the named <firstterm>pipe</firstterm>.
15     The most important device files are listed in the tables below.
16 toff 3352
17     </para><para>
18    
19 fjpop-guest 24840 <informaltable><tgroup cols="2"><tbody>
20 toff 4693 <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 toff 3352
29 fjpop-guest 24840 <informaltable><tgroup cols="2"><tbody>
30 toff 4693 <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 toff 3352
51 fjpop-guest 24840 <informaltable><tgroup cols="2"><tbody>
52 toff 4693 <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 toff 3352
70 fjpop-guest 24840 <informaltable><tgroup cols="2"><tbody>
71 toff 4693 <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 toff 3352
80 fjpop-guest 24840 <informaltable><tgroup cols="2"><tbody>
81 toff 4693 <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 toff 3352
96 fjpop-guest 24840 <informaltable><tgroup cols="2"><tbody>
97 toff 4693 <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 toff 3352
106 fjpop-guest 24840 <informaltable><tgroup cols="2"><tbody>
107 toff 4693 <row>
108     <entry><filename>null</filename></entry>
109 fjp 39551 <entry>Anything written to this device will disappear</entry>
110 toff 4693 </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 toff 3352
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 fjpop-guest 24663
127 toff 3352 <informalexample><screen>
128 fjpop-guest 24663 mouse =&gt; /dev/psaux =&gt; gpm =&gt; /dev/gpmdata -&gt; /dev/mouse =&gt; X
129 toff 3352 /dev/ttyS0 (repeater) (symlink)
130     /dev/ttyS1
131     </screen></informalexample>
132    
133     Set the repeater protocol to be raw (in <filename>/etc/gpm.conf</filename>) while
134     setting X to the original mouse protocol in <filename>/etc/X11/XF86Config</filename>
135     or <filename>/etc/X11/XF86Config-4</filename>.
136    
137     </para><para>
138    
139     This approach to use gpm even in X has advantages when the mouse is
140     unplugged inadvertently. Simply restarting gpm with
141 fjpop-guest 24663
142 toff 3352 <informalexample><screen>
143 fjpop-guest 24663 # /etc/init.d/gpm restart
144 toff 3352 </screen></informalexample>
145 fjpop-guest 24663
146 toff 3352 will re-connect the mouse in software without restarting X.
147    
148     </para><para>
149    
150 fjp 39463 If gpm is disabled or not installed for some reason, make sure to set X to
151     read directly from a mouse device such as /dev/psaux. For details, refer
152 toff 3352 to the 3-Button Mouse mini-Howto at
153 fjp 28672 <filename>/usr/share/doc/HOWTO/en-txt/mini/3-Button-Mouse.gz</filename>,
154     <userinput>man gpm</userinput>,
155     <filename>/usr/share/doc/gpm/FAQ.gz</filename>, and
156 cjwatson 33887 <ulink url="&url-xorg;current/doc/html/mouse.html">README.mouse</ulink>.
157 toff 3352
158 toff 4119 </para><para arch="powerpc">
159 toff 3352
160     For PowerPC, in <filename>/etc/X11/XF86Config</filename> or
161     <filename>/etc/X11/XF86Config-4</filename>, set the mouse device to
162 fjp 28672 <userinput>"/dev/input/mice"</userinput>.
163 toff 3352
164 toff 4119 </para><para arch="powerpc">
165 toff 3352
166     Modern kernels give you the capability to emulate a three-button mouse
167     when your mouse only has one button. Just add the following lines to
168     <filename>/etc/sysctl.conf</filename> file.
169    
170     <informalexample><screen>
171 fjp 28672 # 3-button mouse emulation
172 toff 3352 # 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 fjpop-guest 24663 </screen></informalexample>
180 toff 3352
181     </para>
182     </sect2>
183     </sect1>
184    
185     <sect1 id="tasksel-size-list">
186     <title>Disk Space Needed for Tasks</title>
187 fjpop-guest 26846
188     <!-- Note for d-i and manual maintainers
189 fjp 42302 Sizes of tasks should be determined by running tasksel with the "new-install"
190     option on a system that been fully installed without selecting any tasks. By
191     selecting a task together with the "manual selection" option, aptitude will
192 fjp 43841 be started and show the sizes for the task. Use "cancel pending actions" to
193 fjp 42302 clear the slate, quit aptitude and repeat for other tasks.
194 fjpop-guest 26846 Space requirements need to be determined from tasksel as tasksel will not
195     install recommended packages while selecting a task from aptitude will.
196 fjp 43735
197     The size for the minimal base system should be determined after running
198     'aptitude clean' using 'du -hsx /'. After that the "Standard system" task
199     should be installed after which the size of the standard system should be
200     determined using the same method.
201 fjp 28672 -->
202 fjpop-guest 26846
203 toff 3352 <para>
204    
205 fjp 43735 A standard installation for the i386 architecture, including all standard
206     packages and using the default 2.6 kernel, takes up 442MB of disk space.
207     A minimal base installation, without the <quote>Standard system</quote>
208     task selected, will take 230MB.
209 toff 3352
210 fjp 43735 </para>
211     <important><para>
212 toff 3352
213 fjp 43735 In both cases this is the actual disk space used <emphasis>after</emphasis>
214     the installation is finished and any temporary files deleted. It also does
215     not take into account overhead used by the file system, for example for
216     journal files. This means that significantly more disk space is needed both
217     <emphasis>during</emphasis> the installation and for normal system use.
218    
219     </para></important>
220     <para>
221    
222 fjpop-guest 26846 The following table lists sizes reported by aptitude for the tasks listed
223     in tasksel. Note that some tasks have overlapping constituents, so the
224     total installed size for two tasks together may be less than the total
225     obtained by adding up the numbers.
226 toff 3352
227     </para><para>
228    
229 fjpop-guest 26846 Note that you will need to add the sizes listed in the table to the size
230 fjp 43735 of the standard installation when determining the size of partitions.
231 fjpop-guest 26846 Most of the size listed as <quote>Installed size</quote> will end up in
232 fjp 43735 <filename>/usr</filename> and in <filename>/lib</filename>;
233     the size listed as <quote>Download size</quote>
234 fjpop-guest 26846 is (temporarily) required in <filename>/var</filename>.
235    
236     </para><para>
237    
238 fjpop-guest 24689 <informaltable><tgroup cols="4">
239     <thead>
240     <row>
241     <entry>Task</entry>
242     <entry>Installed size (MB)</entry>
243     <entry>Download size (MB)</entry>
244     <entry>Space needed to install (MB)</entry>
245     </row>
246     </thead>
247 fjpop-guest 24840
248 fjpop-guest 24689 <tbody>
249     <row>
250 fjp 43735 <entry>Desktop environment</entry>
251     <entry>1267</entry>
252     <entry>420</entry>
253     <entry>1667</entry>
254 fjpop-guest 24689 </row>
255 toff 3352
256 fjpop-guest 24689 <row>
257 fjp 43735 <entry>Laptop<footnote>
258    
259     <para>
260     There is a large overlap of the Laptop task with the Destop environment task.
261     If you install both, the Laptop task will only require a few MB additional
262     disk space.
263     </para>
264    
265     </footnote></entry>
266     <entry>50</entry>
267     <entry>17</entry>
268     <entry>67</entry>
269 fjp 42297 </row>
270    
271     <row>
272 fjpop-guest 24689 <entry>Web server</entry>
273 fjp 42297 <entry>35</entry>
274     <entry>11</entry>
275     <entry>46</entry>
276 fjpop-guest 24689 </row>
277    
278     <row>
279     <entry>Print server</entry>
280 fjp 43735 <entry>277</entry>
281     <entry>79</entry>
282     <entry>356</entry>
283 fjpop-guest 24689 </row>
284    
285     <row>
286 fjpop-guest 26846 <entry>DNS server</entry>
287     <entry>2</entry>
288     <entry>1</entry>
289     <entry>3</entry>
290 fjpop-guest 24689 </row>
291    
292     <row>
293     <entry>File server</entry>
294 fjp 43735 <entry>49</entry>
295 fjp 42297 <entry>21</entry>
296 fjp 43735 <entry>70</entry>
297 fjpop-guest 24689 </row>
298    
299     <row>
300 fjpop-guest 26846 <entry>Mail server</entry>
301     <entry>13</entry>
302 fjp 42297 <entry>5</entry>
303     <entry>18</entry>
304 fjpop-guest 26846 </row>
305    
306     <row>
307 fjpop-guest 24689 <entry>SQL database</entry>
308 fjp 42297 <entry>24</entry>
309     <entry>8</entry>
310     <entry>32</entry>
311 fjpop-guest 24689 </row>
312    
313     </tbody>
314     </tgroup></informaltable>
315    
316 fjpop-guest 25763 <note><para>
317    
318 fjp 42297 The <emphasis>Desktop</emphasis> task will install the GNOME desktop
319     environment.
320 fjpop-guest 25763
321     </para></note>
322    
323 fjpop-guest 26846 </para><para>
324    
325     If you install in a language other than English, <command>tasksel</command>
326     may automatically install a <firstterm>localization task</firstterm>, if one
327     is available for your language. Space requirements differ per language;
328 fjp 43737 you should allow up to 350MB in total for download and installation.
329 fjpop-guest 26846
330 toff 3352 </para>
331     </sect1>

Properties

Name Value
svn:keywords Id

  ViewVC Help
Powered by ViewVC 1.1.5