| 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 |
fjp |
44406 |
<sect2 arch="not-s390" id="device-mouse">
|
| 119 |
|
|
<title>Setting Up Your Mouse</title>
|
| 120 |
toff |
3352 |
<para>
|
| 121 |
|
|
|
| 122 |
fjp |
44406 |
The mouse can be used in both the Linux console (with gpm) and the X
|
| 123 |
|
|
window environment. Normally, this is a simple matter of installing
|
| 124 |
|
|
<filename>gpm</filename> and the X server itself. Both should be
|
| 125 |
|
|
configured to use <filename>/dev/input/mice</filename> as the mouse
|
| 126 |
|
|
device. The correct mouse protocol is named <userinput>exps2</userinput>
|
| 127 |
|
|
in gpm, and <userinput>ExplorerPS/2</userinput> in X. The respective
|
| 128 |
|
|
configuration files are <filename>/etc/gpm.conf</filename> and
|
| 129 |
|
|
<filename>/etc/X11/xorg.conf</filename>.
|
| 130 |
fjpop-guest |
24663 |
|
| 131 |
toff |
3352 |
</para><para>
|
| 132 |
|
|
|
| 133 |
fjp |
44406 |
Certain kernel modules must be loaded in order for your mouse to work.
|
| 134 |
|
|
In most cases the correct modules are autodetected, but not always for
|
| 135 |
|
|
old-style serial and bus mice<footnote>
|
| 136 |
fjpop-guest |
24663 |
|
| 137 |
fjp |
44406 |
<para>
|
| 138 |
|
|
Serial mice usually have a 9-hole D-shaped connector; bus mice have an
|
| 139 |
|
|
8-pin round connector, not to be confused with the 6-pin round connector
|
| 140 |
|
|
of a PS/2 mouse or the 4-pin round connector of an ADB mouse.
|
| 141 |
|
|
</para>
|
| 142 |
fjpop-guest |
24663 |
|
| 143 |
fjp |
44406 |
</footnote>, which are quite rare except on very old computers. Summary
|
| 144 |
|
|
of Linux kernel modules needed for different mouse types:
|
| 145 |
|
|
|
| 146 |
|
|
<informaltable><tgroup cols="2"><thead>
|
| 147 |
|
|
<row>
|
| 148 |
|
|
<entry>Module</entry>
|
| 149 |
|
|
<entry>Description</entry>
|
| 150 |
|
|
</row>
|
| 151 |
|
|
</thead><tbody>
|
| 152 |
|
|
<row>
|
| 153 |
|
|
<entry>psmouse</entry>
|
| 154 |
|
|
<entry>PS/2 mice (should be autodetected)</entry>
|
| 155 |
|
|
</row>
|
| 156 |
|
|
<row>
|
| 157 |
|
|
<entry>usbhid</entry>
|
| 158 |
|
|
<entry>USB mice (should be autodetected)</entry>
|
| 159 |
|
|
</row>
|
| 160 |
|
|
<row>
|
| 161 |
|
|
<entry>sermouse</entry>
|
| 162 |
|
|
<entry>Most serial mice</entry>
|
| 163 |
|
|
</row>
|
| 164 |
|
|
<row>
|
| 165 |
|
|
<entry>logibm</entry>
|
| 166 |
|
|
<entry>Bus mouse connected to Logitech adapter card</entry>
|
| 167 |
|
|
</row>
|
| 168 |
|
|
<row>
|
| 169 |
|
|
<entry>inport</entry>
|
| 170 |
|
|
<entry>Bus mouse connected to ATI or Microsoft InPort card</entry>
|
| 171 |
|
|
</row>
|
| 172 |
|
|
</tbody></tgroup></informaltable>
|
| 173 |
toff |
3352 |
|
| 174 |
fjp |
44406 |
To load a mouse driver module, you can use the <command>modconf</command>
|
| 175 |
|
|
command (from the package with the same name) and look in the category
|
| 176 |
|
|
<userinput>kernel/drivers/input/mouse</userinput>.
|
| 177 |
toff |
3352 |
|
| 178 |
toff |
4119 |
</para><para arch="powerpc">
|
| 179 |
fjp |
44406 |
<!-- FJP 20070122: Unsure if this is still valid -->
|
| 180 |
toff |
3352 |
|
| 181 |
|
|
Modern kernels give you the capability to emulate a three-button mouse
|
| 182 |
|
|
when your mouse only has one button. Just add the following lines to
|
| 183 |
|
|
<filename>/etc/sysctl.conf</filename> file.
|
| 184 |
|
|
|
| 185 |
|
|
<informalexample><screen>
|
| 186 |
fjp |
28672 |
# 3-button mouse emulation
|
| 187 |
toff |
3352 |
# turn on emulation
|
| 188 |
|
|
/dev/mac_hid/mouse_button_emulation = 1
|
| 189 |
|
|
# Send middle mouse button signal with the F11 key
|
| 190 |
|
|
/dev/mac_hid/mouse_button2_keycode = 87
|
| 191 |
|
|
# Send right mouse button signal with the F12 key
|
| 192 |
|
|
/dev/mac_hid/mouse_button3_keycode = 88
|
| 193 |
|
|
# For different keys, use showkey to tell you what the code is.
|
| 194 |
fjpop-guest |
24663 |
</screen></informalexample>
|
| 195 |
toff |
3352 |
|
| 196 |
|
|
</para>
|
| 197 |
|
|
</sect2>
|
| 198 |
|
|
</sect1>
|
| 199 |
|
|
|
| 200 |
|
|
<sect1 id="tasksel-size-list">
|
| 201 |
|
|
<title>Disk Space Needed for Tasks</title>
|
| 202 |
fjpop-guest |
26846 |
|
| 203 |
|
|
<!-- Note for d-i and manual maintainers
|
| 204 |
fjp |
42302 |
Sizes of tasks should be determined by running tasksel with the "new-install"
|
| 205 |
|
|
option on a system that been fully installed without selecting any tasks. By
|
| 206 |
|
|
selecting a task together with the "manual selection" option, aptitude will
|
| 207 |
fjp |
43841 |
be started and show the sizes for the task. Use "cancel pending actions" to
|
| 208 |
fjp |
42302 |
clear the slate, quit aptitude and repeat for other tasks.
|
| 209 |
fjpop-guest |
26846 |
Space requirements need to be determined from tasksel as tasksel will not
|
| 210 |
|
|
install recommended packages while selecting a task from aptitude will.
|
| 211 |
fjp |
43735 |
|
| 212 |
|
|
The size for the minimal base system should be determined after running
|
| 213 |
|
|
'aptitude clean' using 'du -hsx /'. After that the "Standard system" task
|
| 214 |
|
|
should be installed after which the size of the standard system should be
|
| 215 |
|
|
determined using the same method.
|
| 216 |
fjp |
28672 |
-->
|
| 217 |
fjpop-guest |
26846 |
|
| 218 |
toff |
3352 |
<para>
|
| 219 |
|
|
|
| 220 |
fjp |
43735 |
A standard installation for the i386 architecture, including all standard
|
| 221 |
|
|
packages and using the default 2.6 kernel, takes up 442MB of disk space.
|
| 222 |
|
|
A minimal base installation, without the <quote>Standard system</quote>
|
| 223 |
|
|
task selected, will take 230MB.
|
| 224 |
toff |
3352 |
|
| 225 |
fjp |
43735 |
</para>
|
| 226 |
|
|
<important><para>
|
| 227 |
toff |
3352 |
|
| 228 |
fjp |
43735 |
In both cases this is the actual disk space used <emphasis>after</emphasis>
|
| 229 |
|
|
the installation is finished and any temporary files deleted. It also does
|
| 230 |
|
|
not take into account overhead used by the file system, for example for
|
| 231 |
|
|
journal files. This means that significantly more disk space is needed both
|
| 232 |
|
|
<emphasis>during</emphasis> the installation and for normal system use.
|
| 233 |
|
|
|
| 234 |
|
|
</para></important>
|
| 235 |
|
|
<para>
|
| 236 |
|
|
|
| 237 |
fjpop-guest |
26846 |
The following table lists sizes reported by aptitude for the tasks listed
|
| 238 |
|
|
in tasksel. Note that some tasks have overlapping constituents, so the
|
| 239 |
|
|
total installed size for two tasks together may be less than the total
|
| 240 |
|
|
obtained by adding up the numbers.
|
| 241 |
toff |
3352 |
|
| 242 |
|
|
</para><para>
|
| 243 |
|
|
|
| 244 |
fjpop-guest |
26846 |
Note that you will need to add the sizes listed in the table to the size
|
| 245 |
fjp |
43735 |
of the standard installation when determining the size of partitions.
|
| 246 |
fjpop-guest |
26846 |
Most of the size listed as <quote>Installed size</quote> will end up in
|
| 247 |
fjp |
43735 |
<filename>/usr</filename> and in <filename>/lib</filename>;
|
| 248 |
|
|
the size listed as <quote>Download size</quote>
|
| 249 |
fjpop-guest |
26846 |
is (temporarily) required in <filename>/var</filename>.
|
| 250 |
|
|
|
| 251 |
|
|
</para><para>
|
| 252 |
|
|
|
| 253 |
fjpop-guest |
24689 |
<informaltable><tgroup cols="4">
|
| 254 |
|
|
<thead>
|
| 255 |
|
|
<row>
|
| 256 |
|
|
<entry>Task</entry>
|
| 257 |
|
|
<entry>Installed size (MB)</entry>
|
| 258 |
|
|
<entry>Download size (MB)</entry>
|
| 259 |
|
|
<entry>Space needed to install (MB)</entry>
|
| 260 |
|
|
</row>
|
| 261 |
|
|
</thead>
|
| 262 |
fjpop-guest |
24840 |
|
| 263 |
fjpop-guest |
24689 |
<tbody>
|
| 264 |
|
|
<row>
|
| 265 |
fjp |
43735 |
<entry>Desktop environment</entry>
|
| 266 |
|
|
<entry>1267</entry>
|
| 267 |
|
|
<entry>420</entry>
|
| 268 |
|
|
<entry>1667</entry>
|
| 269 |
fjpop-guest |
24689 |
</row>
|
| 270 |
toff |
3352 |
|
| 271 |
fjpop-guest |
24689 |
<row>
|
| 272 |
fjp |
43735 |
<entry>Laptop<footnote>
|
| 273 |
|
|
|
| 274 |
|
|
<para>
|
| 275 |
|
|
There is a large overlap of the Laptop task with the Destop environment task.
|
| 276 |
|
|
If you install both, the Laptop task will only require a few MB additional
|
| 277 |
|
|
disk space.
|
| 278 |
|
|
</para>
|
| 279 |
|
|
|
| 280 |
|
|
</footnote></entry>
|
| 281 |
|
|
<entry>50</entry>
|
| 282 |
|
|
<entry>17</entry>
|
| 283 |
|
|
<entry>67</entry>
|
| 284 |
fjp |
42297 |
</row>
|
| 285 |
|
|
|
| 286 |
|
|
<row>
|
| 287 |
fjpop-guest |
24689 |
<entry>Web server</entry>
|
| 288 |
fjp |
42297 |
<entry>35</entry>
|
| 289 |
|
|
<entry>11</entry>
|
| 290 |
|
|
<entry>46</entry>
|
| 291 |
fjpop-guest |
24689 |
</row>
|
| 292 |
|
|
|
| 293 |
|
|
<row>
|
| 294 |
|
|
<entry>Print server</entry>
|
| 295 |
fjp |
43735 |
<entry>277</entry>
|
| 296 |
|
|
<entry>79</entry>
|
| 297 |
|
|
<entry>356</entry>
|
| 298 |
fjpop-guest |
24689 |
</row>
|
| 299 |
|
|
|
| 300 |
|
|
<row>
|
| 301 |
fjpop-guest |
26846 |
<entry>DNS server</entry>
|
| 302 |
|
|
<entry>2</entry>
|
| 303 |
|
|
<entry>1</entry>
|
| 304 |
|
|
<entry>3</entry>
|
| 305 |
fjpop-guest |
24689 |
</row>
|
| 306 |
|
|
|
| 307 |
|
|
<row>
|
| 308 |
|
|
<entry>File server</entry>
|
| 309 |
fjp |
43735 |
<entry>49</entry>
|
| 310 |
fjp |
42297 |
<entry>21</entry>
|
| 311 |
fjp |
43735 |
<entry>70</entry>
|
| 312 |
fjpop-guest |
24689 |
</row>
|
| 313 |
|
|
|
| 314 |
|
|
<row>
|
| 315 |
fjpop-guest |
26846 |
<entry>Mail server</entry>
|
| 316 |
|
|
<entry>13</entry>
|
| 317 |
fjp |
42297 |
<entry>5</entry>
|
| 318 |
|
|
<entry>18</entry>
|
| 319 |
fjpop-guest |
26846 |
</row>
|
| 320 |
|
|
|
| 321 |
|
|
<row>
|
| 322 |
fjpop-guest |
24689 |
<entry>SQL database</entry>
|
| 323 |
fjp |
42297 |
<entry>24</entry>
|
| 324 |
|
|
<entry>8</entry>
|
| 325 |
|
|
<entry>32</entry>
|
| 326 |
fjpop-guest |
24689 |
</row>
|
| 327 |
|
|
|
| 328 |
|
|
</tbody>
|
| 329 |
|
|
</tgroup></informaltable>
|
| 330 |
|
|
|
| 331 |
fjpop-guest |
25763 |
<note><para>
|
| 332 |
|
|
|
| 333 |
fjp |
42297 |
The <emphasis>Desktop</emphasis> task will install the GNOME desktop
|
| 334 |
|
|
environment.
|
| 335 |
fjpop-guest |
25763 |
|
| 336 |
|
|
</para></note>
|
| 337 |
|
|
|
| 338 |
fjpop-guest |
26846 |
</para><para>
|
| 339 |
|
|
|
| 340 |
|
|
If you install in a language other than English, <command>tasksel</command>
|
| 341 |
|
|
may automatically install a <firstterm>localization task</firstterm>, if one
|
| 342 |
|
|
is available for your language. Space requirements differ per language;
|
| 343 |
fjp |
43737 |
you should allow up to 350MB in total for download and installation.
|
| 344 |
fjpop-guest |
26846 |
|
| 345 |
toff |
3352 |
</para>
|
| 346 |
|
|
</sect1>
|