Changeset 5846de5 in clfs-embedded
- Timestamp:
- Jun 13, 2014, 8:58:19 PM (10 years ago)
- Branches:
- master
- Children:
- 458ac4c
- Parents:
- e2ce6d78
- git-author:
- Andrew Bradford <andrew@…> (10/24/13 19:38:07)
- git-committer:
- Andrew Bradford <andrew@…> (06/13/14 20:58:19)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/bootable/common/fstab.xml
re2ce6d78 r5846de5 21 21 22 22 <screen><userinput>cat > ${CLFS}/targetfs/etc/fstab << "EOF" 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 30 proc /proc proc defaults 0 0 31 sysfs /sys sysfs defaults 0 0 32 devpts /dev/pts devpts gid=4,mode=620 0 0 33 shm /dev/shm tmpfs defaults 0 0 34 # End /etc/fstab</literal> 23 <literal># file-system mount-point type options dump fsck 24 /dev/<replaceable>[xxx]</replaceable> / <replaceable>[fff]</replaceable> defaults 1 1</literal> 35 25 EOF</userinput></screen> 36 26 37 <para os="b">Replace <replaceable>[xxx]</replaceable> ,38 <replaceable>[yyy]</replaceable>,and <replaceable>[fff]</replaceable>27 <para os="b">Replace <replaceable>[xxx]</replaceable> 28 and <replaceable>[fff]</replaceable> 39 29 with the values appropriate for the system, for example, <filename 40 class="partition">hda2</filename>, <filename 41 class="partition">hda5</filename>, and <systemitem 42 class="filesystem">ext2</systemitem>. For details on the six 30 class="partition">mmcblk0p2</filename> 31 and <systemitem class="filesystem">ext4</systemitem>. For details on the 43 32 fields in this file, see <command>man 5 fstab</command>.</para> 44 33 45 <para os="c">The <filename class="directory">/dev/shm</filename> mount point 46 for <systemitem class="filesystem">tmpfs</systemitem> is included to 47 allow enabling POSIX-shared memory. The kernel must have the required 48 support built into it for this to work (more about this is in the next 49 section). Please note that very little software currently uses 50 POSIX-shared memory. Therefore, consider the <filename 51 class="directory">/dev/shm</filename> mount point optional. For more 52 information, see <filename>Documentation/filesystems/tmpfs.txt</filename> 53 in the kernel source tree.</para> 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> 54 36 55 37 </sect1>
Note:
See TracChangeset
for help on using the changeset viewer.