diff options
author | Gerard Beekmans <gerard@linuxfromscratch.org> | 2002-09-13 04:24:47 +0000 |
---|---|---|
committer | Gerard Beekmans <gerard@linuxfromscratch.org> | 2002-09-13 04:24:47 +0000 |
commit | 57a5ecfef9d0b8ec31d9794bbb2de9211444c5ce (patch) | |
tree | 5820c3569e2cb3b0fef097df4035d087e817adc4 | |
parent | b464a725483840323c305fb3c658ae026f2fa6af (diff) |
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
-rw-r--r-- | chapter01/changelog.xml | 6 | ||||
-rw-r--r-- | chapter06/mtablink.xml | 2 |
2 files changed, 7 insertions, 1 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 5b218e1f3..bb475ae43 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -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 diff --git a/chapter06/mtablink.xml b/chapter06/mtablink.xml index e40e9bc10..bf1045872 100644 --- a/chapter06/mtablink.xml +++ b/chapter06/mtablink.xml @@ -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 |