| … | |
… | |
| 113 | </pre> |
113 | </pre> |
| 114 | |
114 | |
| 115 | <p> |
115 | <p> |
| 116 | If we continue with this, we would end up with the following three lines (for |
116 | If we continue with this, we would end up with the following three lines (for |
| 117 | <path>/boot</path>, <path>/</path> and the swap partition): |
117 | <path>/boot</path>, <path>/</path> and the swap partition): |
| 118 | </p> |
118 | </p> |
| 119 | |
119 | |
| 120 | <pre caption="Three /etc/fstab lines"> |
120 | <pre caption="Three /etc/fstab lines"> |
| 121 | /dev/hda1 /boot ext2 noauto,noatime 1 2 |
121 | /dev/hda1 /boot ext2 noauto,noatime 1 2 |
| 122 | /dev/hda2 none swap sw 0 0 |
122 | /dev/hda2 none swap sw 0 0 |
| 123 | /dev/hda3 / ext3 noatime 0 1 |
123 | /dev/hda3 / ext3 noatime 0 1 |
| 124 | </pre> |
124 | </pre> |
| 125 | |
125 | |
| 126 | <p> |
126 | <p> |
| 127 | To finish up, you should add a rule for <path>/proc</path>, <c>tmpfs</c> |
127 | To finish up, you should add a rule for <path>/proc</path>, <c>tmpfs</c> |
| 128 | (required) and for your CD-ROM drive (and ofcourse, if you have other |
128 | (required) and for your CD-ROM drive (and of course, if you have other |
| 129 | partitions or drives, for those too): |
129 | partitions or drives, for those too): |
| 130 | </p> |
130 | </p> |
| 131 | |
131 | |
| 132 | <pre caption="A full /etc/fstab example"> |
132 | <pre caption="A full /etc/fstab example"> |
| 133 | /dev/hda1 /boot ext2 noauto,noatime 1 2 |
133 | /dev/hda1 /boot ext2 noauto,noatime 1 2 |
| 134 | /dev/hda2 none swap sw 0 0 |
134 | /dev/hda2 none swap sw 0 0 |
| 135 | /dev/hda3 / ext3 noatime 0 1 |
135 | /dev/hda3 / ext3 noatime 0 1 |
| 136 | |
136 | |
| 137 | none /proc proc defaults 0 0 |
137 | none /proc proc defaults 0 0 |
| 138 | none /dev/shm tmpfs defaults 0 0 |
138 | none /dev/shm tmpfs defaults 0 0 |
| 139 | |
139 | |
| 140 | /dev/cdroms/cdrom0 /mnt/cdrom auto noauto,user 0 0 |
140 | /dev/cdroms/cdrom0 /mnt/cdrom auto noauto,user 0 0 |
| 141 | </pre> |
141 | </pre> |
| 142 | |
142 | |
| 143 | <p> |
143 | <p> |