Переглянути джерело

Fixed an E2fsprogs test failure by recommended use of swap space. Added
an explicit swapon command to enable swap.


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

Dan Nichilson 19 роки тому
батько
коміт
01d4bdf38a
3 змінених файлів з 25 додано та 0 видалено
  1. 9 0
      chapter01/changelog.xml
  2. 9 0
      chapter02/mounting.xml
  3. 7 0
      chapter06/e2fsprogs.xml

+ 9 - 0
chapter01/changelog.xml

@@ -39,6 +39,15 @@
     <listitem>
       <para>August 1, 2006</para>
       <itemizedlist>
+        <listitem>
+          <para>[dnicholson] - Added text describing a potential failure
+          in the E2fsprogs testsuite when there is not enough memory
+          available and suggest enabling swap space to address this. Also
+          added an explicit <command>swapon</command> to the Chapter 2
+          mounting instructions to ensure that the user has enabled their
+          swap space if desired. Thanks to Nathan Coulson and Alexander
+          Patrakov.</para>
+        </listitem>
         <listitem>
           <para>[dnicholson] - Added text warning that the Udev testsuite
           will produce messages in the host's logs. Fixes #1846. Thanks to

+ 9 - 0
chapter02/mounting.xml

@@ -52,6 +52,15 @@ mount -v -t ext3 /dev/<replaceable>&lt;yyy&gt;</replaceable> $LFS/usr</userinput
   <option>noatime</option> are set, the partition will need to be
   remounted.</para>
 
+  <para>If you are using a <systemitem
+  class="filesystem">swap</systemitem> partition, ensure that it is enabled
+  using the <command>swapon</command> command:</para>
+
+<screen role="nodump"><userinput>/sbin/swapon -v /dev/<replaceable>&lt;zzz&gt;</replaceable></userinput></screen>
+
+  <para>Replace <replaceable>&lt;zzz&gt;</replaceable> with the name of the
+  swap partition.</para>
+
   <para>Now that there is an established place to work, it is time to
   download the packages.</para>
 

+ 7 - 0
chapter06/e2fsprogs.xml

@@ -94,6 +94,13 @@ cd build</userinput></screen>
     <para>To test the results, issue:
     <userinput>make check</userinput>.</para>
 
+    <para>One of the E2fsprogs tests will attempt to allocate 256 MB
+    of memory. If you do not have significantly more RAM than this, it
+    is recommended to enable sufficient swap space for the test. See
+    <xref linkend="space-creatingfilesystem"/> and
+    <xref linkend="space-mounting"/> for details on creating and enabling
+    swap space.</para>
+
     <para>Install the binaries and documentation:</para>
 
 <screen><userinput>make install</userinput></screen>