source: boot/common/fstab.xml@ d7c552e

Last change on this file since d7c552e was d7c552e, checked in by Chris Staub <chris@…>, 18 years ago

Corrected GID on one more occurence of /dev/pts, and fixed spacing on fstab in the boot section

  • Property mode set to 100644
File size: 1.7 KB
RevLine 
[bf8c11f]1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-boot-fstab">
9 <?dbhtml filename="fstab.html"?>
10
[a6bba28d]11 <title>Creating the /etc/fstab File</title>
[bf8c11f]12
13 <indexterm zone="ch-boot-fstab">
[a6bba28d]14 <primary sortas="e-/etc/fstab">/etc/fstab</primary>
[bf8c11f]15 </indexterm>
16
[a6bba28d]17 <para os="a">The <filename>/etc/fstab</filename> file is used by some
[bf8c11f]18 programs to determine where file systems are to be mounted by default,
19 which must be checked, and in which order. Create a new file systems
20 table like this:</para>
21
[f1fd69a]22<screen><userinput>cat &gt; ${CLFS}/etc/fstab &lt;&lt; "EOF"
[bf8c11f]23<literal># Begin /etc/fstab
24
25# file system mount-point type options dump fsck
26# order
27
28/dev/<replaceable>[xxx]</replaceable> / <replaceable>[fff]</replaceable> defaults 1 1
29/dev/<replaceable>[yyy]</replaceable> swap swap pri=1 0 0
30proc /proc proc defaults 0 0
31sysfs /sys sysfs defaults 0 0
[d7c552e]32devpts /dev/pts devpts gid=4,mode=620 0 0
[bf8c11f]33shm /dev/shm tmpfs defaults 0 0
34# End /etc/fstab</literal>
35EOF</userinput></screen>
36
37 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
38 href="../../bootable/common/fstab.xml"
39 xpointer="xpointer(//*[@os='b'])"/>
40
41 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
42 href="../../bootable/common/fstab.xml"
43 xpointer="xpointer(//*[@os='c'])"/>
44
45</sect1>
Note: See TracBrowser for help on using the repository browser.