diff options
author | Gerard Beekmans <gerard@linuxfromscratch.org> | 2003-02-03 23:01:33 +0000 |
---|---|---|
committer | Gerard Beekmans <gerard@linuxfromscratch.org> | 2003-02-03 23:01:33 +0000 |
commit | 6f531d7b8c0fa937866a56c6ab729fc0f75d94e0 (patch) | |
tree | ec9829776d05b61ac5a3b3c30f755f3f83217c91 /chapter06/mtablink.xml | |
parent | 2b114b251e50a4b3c6634e327c687617c8bb6030 (diff) |
applied seth's mtab changes
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2415 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/mtablink.xml')
-rw-r--r-- | chapter06/mtablink.xml | 27 |
1 files changed, 12 insertions, 15 deletions
diff --git a/chapter06/mtablink.xml b/chapter06/mtablink.xml index bf1045872..426ca2978 100644 --- a/chapter06/mtablink.xml +++ b/chapter06/mtablink.xml @@ -1,25 +1,22 @@ <sect1 id="ch06-mtablink"> -<title>Creating the mtab symlink</title> +<title>Creating the mtab file</title> <?dbhtml filename="mtablink.html" dir="chapter06"?> -<para>The next thing to do is to create a symlink pointing from -<filename>/etc/mtab</filename> to <filename>/proc/mounts</filename>. +<para>The next thing to do is to create the <filename>/etc/mtab</filename> file. This is done using the following command:</para> -<para><screen><userinput>ln -sf /proc/mounts /etc/mtab</userinput></screen></para> +<para><screen><userinput>touch /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 -information in <filename>/etc/mtab</filename> is stale (i.e. out of date). -By creating the symlink to <filename>/proc/mounts</filename>, we ensure that -the information on currently mounted devices is always up-to-date.</para> +<para>As of LFS-Bootscripts 1.11 this file is handled correctly +so there are no errors even when booting after a crash.</para> -<para>Note that using this symlink requires that you have support for the -proc filesystem compiled into your kernel. This support is included by -default, and should not be removed unless you <emphasis>really</emphasis> -know what you are doing, as some more things besides the -<filename>/etc/mtab</filename> symlink depend on proc being present. -In short, make sure you have proc filesystem support in your kernel.</para> +<para>Note that this requires +support for the proc filesystem to be compiled into the kernel. +This support is included by default. +Don't remove it +unless you <emphasis>really</emphasis> know what you are doing, +as other important things also depend on it. +In short, make sure proc filesystem support is enabled in the kernel.</para> </sect1> |