/[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.43 Revision 1.44
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.43 2004/08/06 13:10:11 swift Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml,v 1.44 2004/08/29 11:38:12 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>
52 listing. Multiple mountoptions are comma-separated. 52 listing. Multiple mountoptions are comma-separated.
53</li> 53</li>
54<li> 54<li>
55 The fifth field is used by <c>dump</c> to determine if the partition needs to 55 The fifth field is used by <c>dump</c> to determine if the partition needs to
56 be <b>dump</b>ed or not. You can generally leave this as <c>0</c> (zero). 56 be <b>dump</b>ed or not. You can generally leave this as <c>0</c> (zero).
57</li> 57</li>
58<li> 58<li>
59 The sixth field is used by <c>fsck</c> to determine the order in which 59 The sixth field is used by <c>fsck</c> to determine the order in which
60 filesystems should be <b>check</b>ed if the system wasn't shut down properly. 60 filesystems should be <b>check</b>ed if the system wasn't shut down properly.
61 The root filesystem should have <c>1</c> while the rest should have <c>2</c> 61 The root filesystem should have <c>1</c> while the rest should have <c>2</c>
62 (or <c>0</c> in case a filesystem check isn't necessary). 62 (or <c>0</c> in case a filesystem check isn't necessary).
63</li> 63</li>
64</ul> 64</ul>
65 65
66<p> 66<p>
67The default <path>/etc/fstab</path> file provided by Gentoo <e>is no valid fstab
67So start <c>nano</c> (or your favorite editor) to create your 68file</e>, so start <c>nano</c> (or your favorite editor) to create your
68<path>/etc/fstab</path>: 69<path>/etc/fstab</path>:
69</p> 70</p>
70 71
71<pre caption="Opening /etc/fstab"> 72<pre caption="Opening /etc/fstab">
72# <i>nano -w /etc/fstab</i> 73# <i>nano -w /etc/fstab</i>
73</pre> 74</pre>
74 75
75<p> 76<p>
76Let us take a look at how we write down the options for the <path>/boot</path> 77Let 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 78partition. This is just an example, so if your architecture doesn't require a
78<path>/boot</path> partition (such as <b>PPC</b>), don't copy it verbatim. 79<path>/boot</path> partition (such as <b>PPC</b>), don't copy it verbatim.
79</p> 80</p>
80 81
81<p> 82<p>
82In our default x86 partitioning example <path>/boot</path> is the 83In our default x86 partitioning example <path>/boot</path> is the

Legend:
Removed from v.1.43  
changed lines
  Added in v.1.44

  ViewVC Help
Powered by ViewVC 1.1.20