浏览代码

added note to run mkswap

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2216 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Gerard Beekmans 22 年之前
父节点
当前提交
9ce6d7a083
共有 2 个文件被更改,包括 13 次插入0 次删除
  1. 4 0
      chapter01/changelog.xml
  2. 9 0
      chapter03/creatingfs.xml

+ 4 - 0
chapter01/changelog.xml

@@ -41,6 +41,10 @@
 </itemizedlist>
 </para></listitem>
 
+<listitem><para>December 3rd, 2002 [gerard]: Chapter 03 - Creating
+filesystem: Added a note that <userinput>mkswap</userinput> has to be run
+if a new swap partition has been created.</para></listitem>
+
 <listitem><para>December 3rd, 2002 [gerard]: Chapter 06 - Bzip2: Removed
 unnecesary lines that first create a symlink, then remove it
 again.</para></listitem>

+ 9 - 0
chapter03/creatingfs.xml

@@ -16,5 +16,14 @@ url="http://beyond.linuxfromscratch.org/view/cvs/postlfs/filesystems.html"/>.</p
 <para>Replace <filename>xxx</filename> with the name of the LFS partition
 (something like <filename>hda5</filename>).</para>
 
+<para>If you created a (new) swap partition you need to initialize it as a
+swap partition too (also known as formatting, like you did above with
+<userinput>mke2fs</userinput>) by running:</para>
+
+<para><screen><userinput>mkswap /dev/yyy</userinput></screen></para>
+
+<para>Replace <filename>yyy</filename> with the name of the swap
+partition.</para>
+
 </sect1>