made the mtab link command an 'ln -sf' since mount may create /etc/mtab when mounting proc

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2103 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Gerard Beekmans 2002-09-13 04:24:47 +00:00
parent b464a72548
commit 57a5ecfef9
2 changed files with 7 additions and 1 deletions

View File

@ -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

View File

@ -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