소스 검색

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
Greg Schafer 22 년 전
부모
커밋
e683065ebe
2개의 변경된 파일15개의 추가작업 그리고 14개의 파일을 삭제
  1. 5 1
      chapter01/changelog.xml
  2. 10 13
      chapter08/fstab.xml

+ 5 - 1
chapter01/changelog.xml

@@ -56,6 +56,7 @@
 <listitem><para>gawk-3.1.3.patch</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-no-fixinc.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-&gcc-specs-version;.patch</para></listitem>
@@ -94,6 +95,9 @@
 </itemizedlist>
 </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
 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
 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
 to gcc-3.3.1-specs-2.patch. Ncurses: added --enable-overwrite and description.

+ 10 - 13
chapter08/fstab.xml

@@ -10,12 +10,13 @@ this:</para>
 <para><screen><userinput>cat &gt; /etc/fstab &lt;&lt; "EOF"</userinput>
 # 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/yyy      swap         swap     pri=1       0     0
-proc          /proc        proc     defaults    0     0
-shm           /dev/shm     tmpfs    defaults    0     0
+/dev/xxx      /            fff      defaults        1     1
+/dev/yyy      swap         swap     pri=1           0     0
+proc          /proc        proc     defaults        0     0
+devpts        /dev/pts     devpts   gid=4,mode=620  0     0
+shm           /dev/shm     tmpfs    defaults        0     0
 
 # End /etc/fstab
 <userinput>EOF</userinput></screen></para>
@@ -36,17 +37,13 @@ see <filename>Documentation/filesystems/tmpfs.txt</filename> in the kernel
 source tree.</para>
 
 <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
-if you are using devpts:</para>
+<filename>fstab</filename> file. One example is a line to use if you intend to
+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>Both of these options will of course only work if you have the relevant
-support compiled into your kernel.</para>
+<para>This option will of course only work if you have the relevant support
+compiled into your kernel.</para>
 
 </sect1>