cvs commit: LFS/BOOK/chapter06 mtablink.xml

gerard at linuxfromscratch.org gerard at linuxfromscratch.org
Thu Sep 12 21:24:47 PDT 2002


gerard      02/09/12 21:24:47

  Modified:    BOOK/chapter01 changelog.xml
               BOOK/chapter06 mtablink.xml
  Log:
  made the mtab link command an 'ln -sf' since mount may create /etc/mtab when mounting proc
  
  Revision  Changes    Path
  1.368     +6 -0      LFS/BOOK/chapter01/changelog.xml
  
  Index: changelog.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter01/changelog.xml,v
  retrieving revision 1.367
  retrieving revision 1.368
  diff -u -r1.367 -r1.368
  --- changelog.xml	12 Sep 2002 23:16:37 -0000	1.367
  +++ changelog.xml	13 Sep 2002 04:24:47 -0000	1.368
  @@ -56,6 +56,12 @@
   </itemizedlist>
   </para></listitem>
   
  +<listitem><para>September 12th, 2002 [gerard]: Chapter 06 - Create mtab
  +link: Made the <userinput>ln</userinput> command an <userinput>ln
  +-sf</userinput> so the existing <filename>/etc/mtab</filename> file, created
  +by the <userinput>mount</userinput> command, will be removed before
  +re-creating it as a symlink.</para></listitem>
  +
   <listitem><para>September 12th, 2002 [gerard]: Chapter 06 - Sh-utils: Added
   the sh-utils-hostname patch that supresses the build of the hostname
   program. This is done because the hostname program from the net-tools
  
  
  
  1.3       +1 -1      LFS/BOOK/chapter06/mtablink.xml
  
  Index: mtablink.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/mtablink.xml,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- mtablink.xml	8 Sep 2002 21:54:14 -0000	1.2
  +++ mtablink.xml	13 Sep 2002 04:24:47 -0000	1.3
  @@ -6,7 +6,7 @@
   <filename>/etc/mtab</filename> to <filename>/proc/mounts</filename>.
   This is done using the following command:</para>
   
  -<para><screen><userinput>ln -s /proc/mounts /etc/mtab</userinput></screen></para>
  +<para><screen><userinput>ln -sf /proc/mounts /etc/mtab</userinput></screen></para>
   
   <para>Creating this symlink avoids problems which can occur if
   <filename class="directory">/</filename> is mounted read-only and the
  
  
  
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-book' in the subject header of the message



More information about the lfs-book mailing list