diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 2ecbf679f..cbc9842b8 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -55,6 +55,9 @@ +February 3rd, 2003 [sklein]: Chapter 06: Changed +/etc/mtab from a symlink to a file. + January 29th, 2003 [gerard]: Chapter 06 - GCC: Changed the install target to install-no-fixedincludes. 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 @@ -Creating the mtab symlink +Creating the mtab file -The next thing to do is to create a symlink pointing from -/etc/mtab to /proc/mounts. +The next thing to do is to create the /etc/mtab file. This is done using the following command: -ln -sf /proc/mounts /etc/mtab +touch /etc/mtab -Creating this symlink avoids problems which can occur if -/ is mounted read-only and the -information in /etc/mtab is stale (i.e. out of date). -By creating the symlink to /proc/mounts, we ensure that -the information on currently mounted devices is always up-to-date. +As of LFS-Bootscripts 1.11 this file is handled correctly +so there are no errors even when booting after a crash. -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 really -know what you are doing, as some more things besides the -/etc/mtab symlink depend on proc being present. -In short, make sure you have proc filesystem support in your kernel. +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 really 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. diff --git a/index.xml b/index.xml index b222853af..f19c51a3f 100644 --- a/index.xml +++ b/index.xml @@ -4,8 +4,8 @@ - - + +