source: BOOK/boot/common/fstab.xml@ c84d855

clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since c84d855 was 35aeffe, checked in by William Harrington <kb0iic@…>, 11 years ago

Adjust spaces in boot method fstab.

  • Property mode set to 100644
File size: 1.8 KB
RevLine 
[3f8be484]1<?xml version="1.0" encoding="ISO-8859-1"?>
[aa18ac0]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[3f8be484]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-boot-fstab">
9 <?dbhtml filename="fstab.html"?>
10
[91ad4a4]11 <title>Creating the /etc/fstab File</title>
[3f8be484]12
13 <indexterm zone="ch-boot-fstab">
[91ad4a4]14 <primary sortas="e-/etc/fstab">/etc/fstab</primary>
[3f8be484]15 </indexterm>
16
[91ad4a4]17 <para os="a">The <filename>/etc/fstab</filename> file is used by some
[3f8be484]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
[3f76cac]22<screen><userinput>cat &gt; ${CLFS}/etc/fstab &lt;&lt; "EOF"
[3f8be484]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
[8f1ae86]32devpts /dev/pts devpts gid=&gid-tty;,mode=620 0 0
[3f8be484]33shm /dev/shm tmpfs defaults 0 0
[35aeffe]34tmpfs /run tmpfs defaults 0 0
35devtmpfs /dev devtmpfs mode=0755,nosuid 0 0
[24932e0]36
[3f8be484]37# End /etc/fstab</literal>
38EOF</userinput></screen>
39
[dabbced]40 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]41 href="../../bootable/common/fstab.xml"
42 xpointer="xpointer(//*[@os='b'])"/>
43
[dabbced]44 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
[3f8be484]45 href="../../bootable/common/fstab.xml"
46 xpointer="xpointer(//*[@os='c'])"/>
47
48</sect1>
Note: See TracBrowser for help on using the repository browser.