/[gentoo]/xml/htdocs/doc/en/handbook/hb-install-config.xml
Gentoo

Diff of /xml/htdocs/doc/en/handbook/hb-install-config.xml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.28 Revision 1.29
1<?xml version='1.0' encoding='UTF-8'?> 1<?xml version='1.0' encoding='UTF-8'?>
2<!DOCTYPE sections SYSTEM "/dtd/book.dtd"> 2<!DOCTYPE sections SYSTEM "/dtd/book.dtd">
3 3
4<!-- The content of this document is licensed under the CC-BY-SA license --> 4<!-- The content of this document is licensed under the CC-BY-SA license -->
5<!-- See http://creativecommons.org/licenses/by-sa/1.0 --> 5<!-- See http://creativecommons.org/licenses/by-sa/1.0 -->
6 6
7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml,v 1.28 2004/03/07 12:01:02 swift Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml,v 1.29 2004/03/12 11:56:15 swift Exp $ -->
8 8
9<sections> 9<sections>
10<section> 10<section>
11<title>Filesystem Information</title> 11<title>Filesystem Information</title>
12<subsection> 12<subsection>
13<title>What is fstab?</title> 13<title>What is fstab?</title>
14<body> 14<body>
15 15
16<p> 16<p>
17Under Linux, all partitions used by the system must be listed in 17Under Linux, all partitions used by the system must be listed in
18<path>/etc/fstab</path>. This file contains the mountpoints of those partitions 18<path>/etc/fstab</path>. This file contains the mountpoints of those partitions
19(where they are seen in the file system structure), how they should be mounted 19(where they are seen in the file system structure), how they should be mounted
20(special options) and when (automatically or not, can users mount those or not, 20(special options) and when (automatically or not, can users mount those or not,
21etc.). 21etc.).
22</p> 22</p>
63</li> 63</li>
64</ul> 64</ul>
65 65
66<p> 66<p>
67So start <c>nano</c> (or your favorite editor) to create your 67So start <c>nano</c> (or your favorite editor) to create your
68<path>/etc/fstab</path>: 68<path>/etc/fstab</path>:
69</p> 69</p>
70 70
71<pre caption="Opening /etc/fstab"> 71<pre caption="Opening /etc/fstab">
72# <i>nano -w /etc/fstab</i> 72# <i>nano -w /etc/fstab</i>
73</pre> 73</pre>
74 74
75<p> 75<p>
76Let us take a look at how we write down the options for the <path>/boot</path> 76Let us take a look at how we write down the options for the <path>/boot</path>
77partition. This is just an example, so if your architecture doesn't require a 77partition. This is just an example, so if your architecture doesn't require a
78<path>/boot</path> partition, don't copy it verbatim. 78<path>/boot</path> partition (such as PPC), don't copy it verbatim.
79</p> 79</p>
80 80
81<p> 81<p>
82In our default x86 partitioning example <path>/boot</path> is the 82In our default x86 partitioning example <path>/boot</path> is the
83<path>/dev/hda1</path> partition, with <c>ext2</c> as filesystem. It shouldn't 83<path>/dev/hda1</path> partition, with <c>ext2</c> as filesystem. It shouldn't
84be mounted automatically (<c>noauto</c>) but does need to be checked. So we 84be mounted automatically (<c>noauto</c>) but does need to be checked. So we
85would write down: 85would write down:
86</p> 86</p>
87 87
88<pre caption="An example /boot line for /etc/fstab"> 88<pre caption="An example /boot line for /etc/fstab">
89/dev/hda1 /boot ext2 noauto 1 2 89/dev/hda1 /boot ext2 noauto 1 2
90</pre> 90</pre>
91 91
92<p> 92<p>
93Now, to improve performance, most users would want to add the <c>noatime</c> 93Now, to improve performance, most users would want to add the <c>noatime</c>
393</pre> 393</pre>
394 394
395<p> 395<p>
396As you can see, this file is well commented to help you set up the necessary 396As you can see, this file is well commented to help you set up the necessary
397configuration variables. Take special care with the <c>KEYMAP</c> setting: if 397configuration variables. Take special care with the <c>KEYMAP</c> setting: if
398you select the wrong <c>KEYMAP</c> you will get weird results when typing on 398you select the wrong <c>KEYMAP</c> you will get weird results when typing on
399your keyboard. 399your keyboard.
400</p> 400</p>
401 401
402<note> 402<note>
403Users of USB-based SPARC systems and SPARC clones might need to select an i386 403Users of USB-based SPARC systems and SPARC clones might need to select an i386
404keymap (such as "us") instead of "sunkeymap". 404keymap (such as "us") instead of "sunkeymap".
405</note> 405</note>
406 406
407<p> 407<p>
408PPC uses x86 keymaps on most systems. Users who want to be able to use ADB
409keymaps on boot have to enable ADB keycode sendings in their kernel and have to
410set a mac/ppc keymap in <path>rc.conf</path>.
411</p>
412
413<p>
408When you're finished configuring <path>/etc/rc.conf</path>, save and exit, then 414When you're finished configuring <path>/etc/rc.conf</path>, save and exit, then
409continue with <uri link="?part=1&amp;chap=9">Configuring the Bootloader</uri>. 415continue with <uri link="?part=1&amp;chap=9">Configuring the Bootloader</uri>.
410</p> 416</p>
411 417
412</body> 418</body>
413</section> 419</section>
414</sections> 420</sections>

Legend:
Removed from v.1.28  
changed lines
  Added in v.1.29

  ViewVC Help
Powered by ViewVC 1.1.20