source: clfs-embedded/BOOK/bootable/common/fstab.xml@ adfc846

Last change on this file since adfc846 was 573e70c, checked in by Andrew Bradford <andrew@…>, 7 years ago

bootable/fstab: Remove / line

Bootloader will tell Linux where rootfs is, we have no other file
systems, so we can have an empty /etc/fstab.

  • Property mode set to 100644
File size: 1.2 KB
RevLine 
[a9e389d]1<?xml version="1.0" encoding="ISO-8859-1"?>
[bd48e48]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[a9e389d]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6]>
7
8<sect1 id="ch-bootable-fstab">
9 <?dbhtml filename="fstab.html"?>
10
11 <title>Creating the /etc/fstab File</title>
12
13 <indexterm zone="ch-bootable-fstab">
14 <primary sortas="e-/etc/fstab">/etc/fstab</primary>
15 </indexterm>
16
17 <para os="a">The <filename>/etc/fstab</filename> file is used by some
18 programs to determine where file systems are to be mounted by default,
19 in which order, and which must be checked (for integrity errors) prior
[573e70c]20 to mounting. For our embedded system, the bootloader will tell Linux where to
21 find the root file system and we will not mount any additional file systems,
22 so we can create an empty file system table like this:</para>
[a9e389d]23
[790f34e]24<screen><userinput>cat &gt; ${CLFS}/targetfs/etc/fstab &lt;&lt; "EOF"
[573e70c]25<literal># file-system mount-point type options dump fsck</literal>
[a9e389d]26EOF</userinput></screen>
27
[573e70c]28 <para>You may add any other file systems, such as swap or other partitions
29 or network file systems, to this fstab if you wish.</para>
[a9e389d]30
31</sect1>
Note: See TracBrowser for help on using the repository browser.