Changeset 1dc34de7 for chapter08/fstab.xml
- Timestamp:
- 08/08/2004 02:11:37 AM (20 years ago)
- Branches:
- 6.0
- Children:
- dbc195c
- Parents:
- 5ba3d1d
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter08/fstab.xml
r5ba3d1d r1dc34de7 10 10 <indexterm zone="ch-bootable-fstab"><primary sortas="e-/etc/fstab">/etc/fstab</primary></indexterm> 11 11 12 <para>The <filename>/etc/fstab</filename> file is used by some programs to13 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 t his:</para>12 <para>The <filename>/etc/fstab</filename> file is used by some 13 programs to determine where file systems are to be mounted by default, 14 which must be checked, and in which order. Create a new file systems 15 table like this:</para> 16 16 17 17 <screen><userinput>cat > /etc/fstab << "EOF" … … 29 29 EOF</userinput></screen> 30 30 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> 33 with the values appropriate for the system. For example, <filename 34 class="partition">hda2</filename>, <filename 35 class="partition">hda5</filename>, and <systemitem 36 class="filesystem">reiserfs</systemitem>. For details on the six 37 fields in this file, see <command>man 5 fstab</command>.</para> 36 38 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> 40 at the end of the line should be replaced with <parameter>0 41 0</parameter> because such a partition does not need to be dumped or 42 checked.</para> 40 43 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 45 for <systemitem class="filesystem">tmpfs</systemitem> is included to 46 allow enabling POSIX shared memory. The kernel must have the required 47 support built into it for this to work (more about this in the next 48 section). Please note that very little software currently uses POSIX 49 shared memory. Therefore, consider the <filename 50 class="directory">/dev/shm</filename> mount point optional. For more 51 information, see 52 <filename>Documentation/filesystems/tmpfs.txt</filename> in the kernel 53 source tree.</para> 50 54 51 <para>There are other lines which you may consider adding to your52 <filename> fstab</filename> file. One example is a line to use if you intend to53 use USBdevices:</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 57 devices:</para> 54 58 55 59 <screen> usbfs /proc/bus/usb usbfs devgid=14,devmode=0660 0 0 </screen> 56 60 57 <para>This option will o f course only work if you have the58 "Support for Host-side USB" and "USB device filesystem" 59 compiled into yourkernel (not as a module).</para>61 <para>This option will only work if the <quote>Support for Host-side 62 USB</quote> and <quote>USB device filesystem</quote> are compiled into 63 the kernel (not as a module).</para> 60 64 61 65 </sect1> 66
Note:
See TracChangeset
for help on using the changeset viewer.