| 1 |
<!-- retain these comments for translator revision tracking -->
|
| 2 |
<!-- $Id$ -->
|
| 3 |
|
| 4 |
|
| 5 |
<sect1 id="linuxdevices"><title>Linux Devices</title>
|
| 6 |
<para>
|
| 7 |
|
| 8 |
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 |
|
| 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>Anything written 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 arch="not-s390" id="device-mouse">
|
| 119 |
<title>Setting Up Your Mouse</title>
|
| 120 |
<para>
|
| 121 |
|
| 122 |
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 |
|
| 131 |
</para><para>
|
| 132 |
|
| 133 |
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 |
|
| 137 |
<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 |
|
| 143 |
</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 |
|
| 174 |
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 |
|
| 178 |
</para><para arch="powerpc">
|
| 179 |
<!-- FJP 20070122: Unsure if this is still valid -->
|
| 180 |
|
| 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 |
# 3-button mouse emulation
|
| 187 |
# 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 |
</screen></informalexample>
|
| 195 |
|
| 196 |
</para>
|
| 197 |
</sect2>
|
| 198 |
</sect1>
|
| 199 |
|
| 200 |
<sect1 id="tasksel-size-list">
|
| 201 |
<title>Disk Space Needed for Tasks</title>
|
| 202 |
<para>
|
| 203 |
|
| 204 |
A standard installation for the i386 architecture, including all standard
|
| 205 |
packages and using the default 2.6 kernel, takes up &std-system-size;MB of disk space.
|
| 206 |
A minimal base installation, without the <quote>Standard system</quote>
|
| 207 |
task selected, will take &base-system-size;MB.
|
| 208 |
|
| 209 |
</para>
|
| 210 |
<important><para>
|
| 211 |
|
| 212 |
In both cases this is the actual disk space used <emphasis>after</emphasis>
|
| 213 |
the installation is finished and any temporary files deleted. It also does
|
| 214 |
not take into account overhead used by the file system, for example for
|
| 215 |
journal files. This means that significantly more disk space is needed both
|
| 216 |
<emphasis>during</emphasis> the installation and for normal system use.
|
| 217 |
|
| 218 |
</para></important>
|
| 219 |
<para>
|
| 220 |
|
| 221 |
The following table lists sizes reported by aptitude for the tasks listed
|
| 222 |
in tasksel. Note that some tasks have overlapping constituents, so the
|
| 223 |
total installed size for two tasks together may be less than the total
|
| 224 |
obtained by adding up the numbers.
|
| 225 |
|
| 226 |
</para><para>
|
| 227 |
|
| 228 |
Note that you will need to add the sizes listed in the table to the size
|
| 229 |
of the standard installation when determining the size of partitions.
|
| 230 |
Most of the size listed as <quote>Installed size</quote> will end up in
|
| 231 |
<filename>/usr</filename> and in <filename>/lib</filename>;
|
| 232 |
the size listed as <quote>Download size</quote>
|
| 233 |
is (temporarily) required in <filename>/var</filename>.
|
| 234 |
|
| 235 |
</para><para>
|
| 236 |
|
| 237 |
<informaltable><tgroup cols="4">
|
| 238 |
<thead>
|
| 239 |
<row>
|
| 240 |
<entry>Task</entry>
|
| 241 |
<entry>Installed size (MB)</entry>
|
| 242 |
<entry>Download size (MB)</entry>
|
| 243 |
<entry>Space needed to install (MB)</entry>
|
| 244 |
</row>
|
| 245 |
</thead>
|
| 246 |
|
| 247 |
<tbody>
|
| 248 |
<row>
|
| 249 |
<entry>Desktop environment</entry>
|
| 250 |
<entry>&task-desktop-inst;</entry>
|
| 251 |
<entry>&task-desktop-dl;</entry>
|
| 252 |
<entry>&task-desktop-tot;</entry>
|
| 253 |
</row>
|
| 254 |
|
| 255 |
<row>
|
| 256 |
<entry>Laptop<footnote>
|
| 257 |
|
| 258 |
<para>
|
| 259 |
There is some overlap of the Laptop task with the Desktop environment task.
|
| 260 |
If you install both, the Laptop task will only require a few MB additional
|
| 261 |
disk space.
|
| 262 |
</para>
|
| 263 |
|
| 264 |
</footnote></entry>
|
| 265 |
<entry>&task-laptop-inst;</entry>
|
| 266 |
<entry>&task-laptop-dl;</entry>
|
| 267 |
<entry>&task-laptop-tot;</entry>
|
| 268 |
</row>
|
| 269 |
|
| 270 |
<row>
|
| 271 |
<entry>Web server</entry>
|
| 272 |
<entry>&task-web-inst;</entry>
|
| 273 |
<entry>&task-web-dl;</entry>
|
| 274 |
<entry>&task-web-tot;</entry>
|
| 275 |
</row>
|
| 276 |
|
| 277 |
<row>
|
| 278 |
<entry>Print server</entry>
|
| 279 |
<entry>&task-print-inst;</entry>
|
| 280 |
<entry>&task-print-dl;</entry>
|
| 281 |
<entry>&task-print-tot;</entry>
|
| 282 |
</row>
|
| 283 |
|
| 284 |
<row>
|
| 285 |
<entry>DNS server</entry>
|
| 286 |
<entry>&task-dns-inst;</entry>
|
| 287 |
<entry>&task-dns-dl;</entry>
|
| 288 |
<entry>&task-dns-tot;</entry>
|
| 289 |
</row>
|
| 290 |
|
| 291 |
<row>
|
| 292 |
<entry>File server</entry>
|
| 293 |
<entry>&task-file-inst;</entry>
|
| 294 |
<entry>&task-file-dl;</entry>
|
| 295 |
<entry>&task-file-tot;</entry>
|
| 296 |
</row>
|
| 297 |
|
| 298 |
<row>
|
| 299 |
<entry>Mail server</entry>
|
| 300 |
<entry>&task-mail-inst;</entry>
|
| 301 |
<entry>&task-mail-dl;</entry>
|
| 302 |
<entry>&task-mail-tot;</entry>
|
| 303 |
</row>
|
| 304 |
|
| 305 |
<row>
|
| 306 |
<entry>SQL database</entry>
|
| 307 |
<entry>&task-sql-inst;</entry>
|
| 308 |
<entry>&task-sql-dl;</entry>
|
| 309 |
<entry>&task-sql-tot;</entry>
|
| 310 |
</row>
|
| 311 |
|
| 312 |
</tbody>
|
| 313 |
</tgroup></informaltable>
|
| 314 |
|
| 315 |
<note><para>
|
| 316 |
|
| 317 |
The <emphasis>Desktop</emphasis> task will install the GNOME desktop
|
| 318 |
environment.
|
| 319 |
|
| 320 |
</para></note>
|
| 321 |
|
| 322 |
</para><para>
|
| 323 |
|
| 324 |
If you install in a language other than English, <command>tasksel</command>
|
| 325 |
may automatically install a <firstterm>localization task</firstterm>, if one
|
| 326 |
is available for your language. Space requirements differ per language;
|
| 327 |
you should allow up to 350MB in total for download and installation.
|
| 328 |
|
| 329 |
</para>
|
| 330 |
</sect1>
|