Ignore:
Timestamp:
08/08/2004 02:11:37 AM (20 years ago)
Author:
Gerard Beekmans <gerard@…>
Branches:
6.0
Children:
dbc195c
Parents:
5ba3d1d
Message:

Completed global edits for upcoming 6.0 release

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/testing/BOOK@4002 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter08/fstab.xml

    r5ba3d1d r1dc34de7  
    1010<indexterm zone="ch-bootable-fstab"><primary sortas="e-/etc/fstab">/etc/fstab</primary></indexterm>
    1111
    12 <para>The <filename>/etc/fstab</filename> file is used by some programs to
    13 determine where file systems are to be mounted by default, which
    14 must be checked and in which order. Create a new file systems table like
    15 this:</para>
     12<para>The <filename>/etc/fstab</filename> file is used by some
     13programs to determine where file systems are to be mounted by default,
     14which must be checked, and in which order. Create a new file systems
     15table like this:</para>
    1616
    1717<screen><userinput>cat &gt; /etc/fstab &lt;&lt; "EOF"
     
    2929EOF</userinput></screen>
    3030
    31 <para>Of course, replace <replaceable>[xxx]</replaceable>, <replaceable>[yyy]</replaceable>
    32 and <replaceable>[fff]</replaceable> with the values appropriate for your system --
    33 for example <filename class="partition">hda2</filename>, <filename class="partition">hda5</filename> and
    34 <systemitem class="filesystem">reiserfs</systemitem>. For all the details on the six fields in this
    35 table, see <command>man 5 fstab</command>.</para>
     31<para>Replace <replaceable>[xxx]</replaceable>,
     32<replaceable>[yyy]</replaceable> and <replaceable>[fff]</replaceable>
     33with the values appropriate for the system. For example, <filename
     34class="partition">hda2</filename>, <filename
     35class="partition">hda5</filename>, and <systemitem
     36class="filesystem">reiserfs</systemitem>. For details on the six
     37fields in this file, see <command>man 5 fstab</command>.</para>
    3638
    37 <para>When using a reiserfs partition, the <parameter>1 1</parameter> at the
    38 end of the line should be replaced with <parameter>0 0</parameter>, as such a
    39 partition does not need to be dumped or checked</para>
     39<para>When using a reiserfs partition, the <parameter>1 1</parameter>
     40at the end of the line should be replaced with <parameter>0
     410</parameter> because such a partition does not need to be dumped or
     42checked.</para>
    4043
    41 <para>The <filename class="directory">/dev/shm</filename> mount point for
    42 <systemitem class="filesystem">tmpfs</systemitem> is included to
    43 allow enabling POSIX shared memory. Your kernel must have the required support
    44 built into it for this to work -- more about this in the next section. Please
    45 note that currently very little software actually uses POSIX shared memory.
    46 Therefore you can consider the <filename class="directory">/dev/shm</filename> mount point
    47 optional. For more information, see
    48 <filename>Documentation/filesystems/tmpfs.txt</filename> in the kernel source
    49 tree.</para>
     44<para>The <filename class="directory">/dev/shm</filename> mount point
     45for <systemitem class="filesystem">tmpfs</systemitem> is included to
     46allow enabling POSIX shared memory. The kernel must have the required
     47support built into it for this to work (more about this in the next
     48section). Please note that very little software currently uses POSIX
     49shared memory.  Therefore, consider the <filename
     50class="directory">/dev/shm</filename> mount point optional. For more
     51information, see
     52<filename>Documentation/filesystems/tmpfs.txt</filename> in the kernel
     53source tree.</para>
    5054
    51 <para>There are other lines which you may consider adding to your
    52 <filename>fstab</filename> file. One example is a line to use if you intend to
    53 use USB devices:</para>
     55<para>There are other lines which may be added to the
     56<filename>/etc/fstab</filename> file. One example is a line for USB
     57devices:</para>
    5458
    5559<screen> usbfs         /proc/bus/usb usbfs   devgid=14,devmode=0660 0 0 </screen>
    5660
    57 <para>This option will of course only work if you have the
    58 "Support for Host-side USB" and "USB device filesystem"
    59 compiled into your kernel (not as a module).</para>
     61<para>This option will only work if the <quote>Support for Host-side
     62USB</quote> and <quote>USB device filesystem</quote> are compiled into
     63the kernel (not as a module).</para>
    6064
    6165</sect1>
     66
Note: See TracChangeset for help on using the changeset viewer.