Changeset 573e70c in clfs-embedded for BOOK/bootable
- Timestamp:
- Jul 17, 2017, 12:50:13 PM (7 years ago)
- Branches:
- master
- Children:
- dd92ea4
- Parents:
- 81b4464
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/bootable/common/fstab.xml
r81b4464 r573e70c 18 18 programs to determine where file systems are to be mounted by default, 19 19 in which order, and which must be checked (for integrity errors) prior 20 to mounting. Create a new file systems table like this:</para> 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> 21 23 22 24 <screen><userinput>cat > ${CLFS}/targetfs/etc/fstab << "EOF" 23 <literal># file-system mount-point type options dump fsck 24 /dev/<replaceable>[xxx]</replaceable> / <replaceable>[fff]</replaceable> defaults 1 1</literal> 25 <literal># file-system mount-point type options dump fsck</literal> 25 26 EOF</userinput></screen> 26 27 27 <para os="b">Replace <replaceable>[xxx]</replaceable> 28 and <replaceable>[fff]</replaceable> 29 with the values appropriate for the system, for example, <filename 30 class="partition">mmcblk0p2</filename> 31 and <systemitem class="filesystem">ext4</systemitem>. For details on the 32 fields in this file, see <command>man 5 fstab</command>.</para> 33 34 <para>You may also add any other file systems, such as swap or other partitions 35 or network file systems, to this fstab as well.</para> 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> 36 30 37 31 </sect1>
Note:
See TracChangeset
for help on using the changeset viewer.