aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/mtablink.xml
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2002-09-13 04:24:47 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2002-09-13 04:24:47 +0000
commit57a5ecfef9d0b8ec31d9794bbb2de9211444c5ce (patch)
tree5820c3569e2cb3b0fef097df4035d087e817adc4 /chapter06/mtablink.xml
parentb464a725483840323c305fb3c658ae026f2fa6af (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
Diffstat (limited to 'chapter06/mtablink.xml')
-rw-r--r--chapter06/mtablink.xml2
1 files changed, 1 insertions, 1 deletions
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