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
|
Line | |
---|
1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
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
|
---|
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>
|
---|
23 |
|
---|
24 | <screen><userinput>cat > ${CLFS}/targetfs/etc/fstab << "EOF"
|
---|
25 | <literal># file-system mount-point type options dump fsck</literal>
|
---|
26 | EOF</userinput></screen>
|
---|
27 |
|
---|
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>
|
---|
30 |
|
---|
31 | </sect1>
|
---|
Note:
See
TracBrowser
for help on using the repository browser.