Changeset 573e70c in clfs-embedded for BOOK/bootable


Ignore:
Timestamp:
Jul 17, 2017, 7:50:13 PM (7 years ago)
Author:
Andrew Bradford <andrew@…>
Branches:
master
Children:
dd92ea4
Parents:
81b4464
Message:

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.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • BOOK/bootable/common/fstab.xml

    r81b4464 r573e70c  
    1818  programs to determine where file systems are to be mounted by default,
    1919  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>
    2123
    2224<screen><userinput>cat &gt; ${CLFS}/targetfs/etc/fstab &lt;&lt; "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>
    2526EOF</userinput></screen>
    2627
    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>
    3630
    3731</sect1>
Note: See TracChangeset for help on using the changeset viewer.