Chapter 8 - Creating the /etc/fstab file: Made mounting devpts the default.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2872 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Greg Schafer 2003-09-23 06:27:36 +00:00
parent ccaabde9fa
commit e683065ebe
2 changed files with 15 additions and 14 deletions

View File

@ -56,6 +56,7 @@
<listitem><para>gawk-3.1.3.patch</para></listitem> <listitem><para>gawk-3.1.3.patch</para></listitem>
<listitem><para>gcc-2.95.3</para></listitem> <listitem><para>gcc-2.95.3</para></listitem>
<listitem><para>gcc-2.95.3-2.patch</para></listitem> <listitem><para>gcc-2.95.3-2.patch</para></listitem>
<listitem><para>gcc-2.95.3-no-fixinc.patch</para></listitem>
<listitem><para>gcc-2.95.3-returntype-fix.patch</para></listitem> <listitem><para>gcc-2.95.3-returntype-fix.patch</para></listitem>
<listitem><para>gcc-3.3.1-no_fixincludes-2.patch</para></listitem> <listitem><para>gcc-3.3.1-no_fixincludes-2.patch</para></listitem>
<listitem><para>gcc-&gcc-specs-version;.patch</para></listitem> <listitem><para>gcc-&gcc-specs-version;.patch</para></listitem>
@ -94,6 +95,9 @@
</itemizedlist> </itemizedlist>
</para></listitem> </para></listitem>
<listitem><para>September 22nd, 2003 [greg]: Chapter 8 - Creating the /etc/fstab
file: Made mounting devpts the default.</para></listitem>
<listitem><para>September 22nd, 2003 [jeremy]: Added net-tools patch to fix <listitem><para>September 22nd, 2003 [jeremy]: Added net-tools patch to fix
mii-tool compilation</para></listitem> mii-tool compilation</para></listitem>
@ -119,7 +123,7 @@ and diffutils, since these tests perform no actions.</para></listitem>
<listitem><para>September 22nd, 2003 [greg]: Chapter 5 - Setting up the <listitem><para>September 22nd, 2003 [greg]: Chapter 5 - Setting up the
environment: Added unset CC CXX CPP LD_LIBRARY_PATH LD_PRELOAD to environment: Added unset CC CXX CPP LD_LIBRARY_PATH LD_PRELOAD to
.bash_profile to stop accidental build breakge.</para></listitem> .bash_profile to stop accidental build breakage.</para></listitem>
<listitem><para>September 20th, 2003 [greg]: Chapter 5 - GCC Pass 2: Updated <listitem><para>September 20th, 2003 [greg]: Chapter 5 - GCC Pass 2: Updated
to gcc-3.3.1-specs-2.patch. Ncurses: added --enable-overwrite and description. to gcc-3.3.1-specs-2.patch. Ncurses: added --enable-overwrite and description.

View File

@ -10,12 +10,13 @@ this:</para>
<para><screen><userinput>cat &gt; /etc/fstab &lt;&lt; "EOF"</userinput> <para><screen><userinput>cat &gt; /etc/fstab &lt;&lt; "EOF"</userinput>
# Begin /etc/fstab # Begin /etc/fstab
# filesystem mount-point fs-type options dump fsck-order # filesystem mount-point fs-type options dump fsck-order
/dev/xxx / fff defaults 1 1 /dev/xxx / fff defaults 1 1
/dev/yyy swap swap pri=1 0 0 /dev/yyy swap swap pri=1 0 0
proc /proc proc defaults 0 0 proc /proc proc defaults 0 0
shm /dev/shm tmpfs defaults 0 0 devpts /dev/pts devpts gid=4,mode=620 0 0
shm /dev/shm tmpfs defaults 0 0
# End /etc/fstab # End /etc/fstab
<userinput>EOF</userinput></screen></para> <userinput>EOF</userinput></screen></para>
@ -36,17 +37,13 @@ see <filename>Documentation/filesystems/tmpfs.txt</filename> in the kernel
source tree.</para> source tree.</para>
<para>There are other lines which you may consider adding to your <para>There are other lines which you may consider adding to your
<filename>fstab</filename> file. One example is the line which you must have <filename>fstab</filename> file. One example is a line to use if you intend to
if you are using devpts:</para> use USB devices:</para>
<para><screen>devpts /dev/pts devpts gid=4,mode=620 0 0</screen></para>
<para>Another example is a line to use if you intend to use USB
devices:</para>
<para><screen>usbfs /proc/bus/usb usbfs defaults 0 0</screen></para> <para><screen>usbfs /proc/bus/usb usbfs defaults 0 0</screen></para>
<para>Both of these options will of course only work if you have the relevant <para>This option will of course only work if you have the relevant support
support compiled into your kernel.</para> compiled into your kernel.</para>
</sect1> </sect1>