/[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.53 Revision 1.54
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.53 2004/12/22 21:35:40 swift Exp $ --> 7<!-- $Header: /var/cvsroot/gentoo/xml/htdocs/doc/en/handbook/hb-install-config.xml,v 1.54 2004/12/26 14:17:25 swift Exp $ -->
8 8
9<sections> 9<sections>
10 10
11<version>1.50</version> 11<version>1.51</version>
12<date>2004-12-22</date> 12<date>2004-12-26</date>
13 13
14<section> 14<section>
15<title>Filesystem Information</title> 15<title>Filesystem Information</title>
16<subsection> 16<subsection>
17<title>What is fstab?</title> 17<title>What is fstab?</title>
18<body> 18<body>
19 19
20<p> 20<p>
21Under Linux, all partitions used by the system must be listed in 21Under Linux, all partitions used by the system must be listed in
22<path>/etc/fstab</path>. This file contains the mountpoints of those partitions 22<path>/etc/fstab</path>. This file contains the mountpoints of those partitions
23(where they are seen in the file system structure), how they should be mounted 23(where they are seen in the file system structure), how they should be mounted
24and with what special options (automatically or not, whether users can mount 24and with what special options (automatically or not, whether users can mount
25them or not, etc.) 25them or not, etc.)
26</p> 26</p>
27 27
116</p> 116</p>
117 117
118<pre caption="Three /etc/fstab lines"> 118<pre caption="Three /etc/fstab lines">
119/dev/hda1 /boot ext2 defaults,noatime 1 2 119/dev/hda1 /boot ext2 defaults,noatime 1 2
120/dev/hda2 none swap sw 0 0 120/dev/hda2 none swap sw 0 0
121/dev/hda3 / ext3 noatime 0 1 121/dev/hda3 / ext3 noatime 0 1
122</pre> 122</pre>
123 123
124<p> 124<p>
125To finish up, you should add a rule for <path>/proc</path>, <c>tmpfs</c> 125To finish up, you should add a rule for <path>/proc</path>, <c>tmpfs</c>
126(required) and for your CD-ROM drive (and of course, if you have other 126(required) and for your CD-ROM drive (and of course, if you have other
127partitions or drives, for those too): 127partitions or drives, for those too):
128</p> 128</p>
129 129
130<pre caption="A full /etc/fstab example"> 130<pre caption="A full /etc/fstab example">
131/dev/hda1 /boot ext2 noauto,noatime 1 2 131/dev/hda1 /boot ext2 defaults,noatime 1 2
132/dev/hda2 none swap sw 0 0 132/dev/hda2 none swap sw 0 0
133/dev/hda3 / ext3 noatime 0 1 133/dev/hda3 / ext3 noatime 0 1
134 134
135none /proc proc defaults 0 0 135none /proc proc defaults 0 0
136none /dev/shm tmpfs nodev,nosuid,noexec 0 0 136none /dev/shm tmpfs nodev,nosuid,noexec 0 0
137 137
138/dev/cdroms/cdrom0 /mnt/cdrom auto noauto,user 0 0 138/dev/cdroms/cdrom0 /mnt/cdrom auto noauto,user 0 0
139</pre> 139</pre>
140 140
141<p> 141<p>
142<c>auto</c> makes <c>mount</c> guess for the filesystem (recommended for 142<c>auto</c> makes <c>mount</c> guess for the filesystem (recommended for
143removable media as they can be created with one of many filesystems) and 143removable media as they can be created with one of many filesystems) and
144<c>user</c> makes it possible for non-root users to mount the CD. 144<c>user</c> makes it possible for non-root users to mount the CD.
145</p> 145</p>
146 146

Legend:
Removed from v.1.53  
changed lines
  Added in v.1.54

  ViewVC Help
Powered by ViewVC 1.1.20