/[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.8 Revision 1.9
1<!-- The content of this document is licensed under the CC-BY-SA license --> 1<!-- The content of this document is licensed under the CC-BY-SA license -->
2<!-- See http://creativecommons.org/licenses/by-sa/1.0 --> 2<!-- See http://creativecommons.org/licenses/by-sa/1.0 -->
3 3
4<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml,v 1.8 2003/11/15 13:53:33 swift Exp $ --> 4<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml,v 1.9 2003/11/20 18:01:04 swift Exp $ -->
5 5
6<sections> 6<sections>
7<section> 7<section>
8<title>Timezone</title> 8<title>Timezone</title>
9<body> 9<body>
10 10
11<p> 11<p>
12You now need to select your timezone so that your system knows where it is 12You now need to select your timezone so that your system knows where it is
13located. Look for your timezone in <path>/usr/share/zoneinfo</path>, then make a 13located. Look for your timezone in <path>/usr/share/zoneinfo</path>, then make a
14symlink to <path>/etc/localtime</path> using <c>ln</c>: 14symlink to <path>/etc/localtime</path> using <c>ln</c>:
15</p> 15</p>
16 16
17<pre caption="Setting the timezone information"> 17<pre caption="Setting the timezone information">
18# <i>ls /usr/share/zoneinfo</i> 18# <i>ls /usr/share/zoneinfo</i>
19<comment>(Suppose you want to use GTM:)</comment> 19<comment>(Suppose you want to use GTM:)</comment>
32Under Linux, all partitions used by the system must be listed in 32Under Linux, all partitions used by the system must be listed in
33<path>/etc/fstab</path>. This file contains the mountpoints of those partitions 33<path>/etc/fstab</path>. This file contains the mountpoints of those partitions
34(where they are seen in the file system structure), how they should be mounted 34(where they are seen in the file system structure), how they should be mounted
35(special options) and when (automatically or not, can users mount those or not, 35(special options) and when (automatically or not, can users mount those or not,
36etc.). 36etc.).
37</p> 37</p>
38 38
39</body> 39</body>
40</subsection> 40</subsection>
41<subsection> 41<subsection>
42<title>Creating /etc/fstab</title> 42<title>Creating /etc/fstab</title>
43<body> 43<body>
44 44
45<p> 45<p>
46<path>/etc/fstab</path> uses a special syntaxis. Every line consists of six 46<path>/etc/fstab</path> uses a special syntaxis. Every line consists of six
47fields, seperated by whitespace (space(s), tabs or a mixture). Each field has 47fields, separated by whitespace (space(s), tabs or a mixture). Each field has
48its own meaning: 48its own meaning:
49</p> 49</p>
50 50
51<ul> 51<ul>
52<li> 52<li>
53 The first field shows the <b>partition</b> described (the path to the device 53 The first field shows the <b>partition</b> described (the path to the device
54 file) 54 file)
55</li> 55</li>
56<li> 56<li>
57 The second field shows the <b>mountpoint</b> at which the partition should be 57 The second field shows the <b>mountpoint</b> at which the partition should be
58 mounted 58 mounted
59</li> 59</li>
60<li> 60<li>
61 The third field shows the <b>filesystem</b> used by the partition 61 The third field shows the <b>filesystem</b> used by the partition
62</li> 62</li>
63<li> 63<li>
64 The fourth field shows the <b>mountoptions</b> used by <c>mount</c> when it 64 The fourth field shows the <b>mountoptions</b> used by <c>mount</c> when it
65 wants to mount the partition. As every filesystem has its own mountoptions, 65 wants to mount the partition. As every filesystem has its own mountoptions,
66 you are encouraged to read the mount manpage (<c>man mount</c>) for a full 66 you are encouraged to read the mount manpage (<c>man mount</c>) for a full
67 listing. Multiple mountoptions are comma-seperated. 67 listing. Multiple mountoptions are comma-separated.
68</li> 68</li>
69<li> 69<li>
70 The fifth field is used by <c>dump</c> to determine if the partition needs to 70 The fifth field is used by <c>dump</c> to determine if the partition needs to
71 be <b>dump</b>ed or not. You can generally leave this as <c>0</c> (zero). 71 be <b>dump</b>ed or not. You can generally leave this as <c>0</c> (zero).
72</li> 72</li>
73<li> 73<li>
74 The sixth field is used by <c>fsck</c> the order in which filesystems should 74 The sixth field is used by <c>fsck</c> the order in which filesystems should
75 be <b>check</b>ed if the system wasn't shut down properly. The root filesystem 75 be <b>check</b>ed if the system wasn't shut down properly. The root filesystem
76 should have <c>1</c> while the rest should have <c>2</c> (or <c>0</c> in case 76 should have <c>1</c> while the rest should have <c>2</c> (or <c>0</c> in case
77 a filesystem check isn't necessary). 77 a filesystem check isn't necessary).
78</li> 78</li>
79</ul> 79</ul>
80 80
81<p> 81<p>
82So start <c>nano</c> (or your favorite editor) to create your 82So start <c>nano</c> (or your favorite editor) to create your

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

  ViewVC Help
Powered by ViewVC 1.1.20