diff options
Diffstat (limited to 'chapter06/kernfs.xml')
-rw-r--r-- | chapter06/kernfs.xml | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/chapter06/kernfs.xml b/chapter06/kernfs.xml index d3971dec6..a1b6b68e1 100644 --- a/chapter06/kernfs.xml +++ b/chapter06/kernfs.xml @@ -4,10 +4,7 @@ <title>Mounting virtual kernel file systems</title> <?dbhtml filename="kernfs.html"?> -<para>Various file systems exported by the kernel don't exist at all on your -hard drive, but are used to communicate things to and from the kernel itself.</para> - -<para>Begin by creating directories onto which the file systems will be mounted:</para> +<para>Create the dirs:</para> <screen><userinput>mkdir -p $LFS/{proc,sys}</userinput></screen> @@ -16,13 +13,7 @@ hard drive, but are used to communicate things to and from the kernel itself.</p <screen><userinput>mount -t proc proc $LFS/proc mount -t sysfs sysfs $LFS/sys</userinput></screen> -<para>Remember that if for any reason you stop working on your LFS, and start -again later, it's important to check that these file systems are mounted again -before entering the chroot environment, otherwise problems could occur.</para> - -<para>Shortly, we'll be mounting a few more file systems from within the chroot -environment. To keep the host up-to-date, we'll do a <quote>fake mount</quote> -for each of these now:</para> +<para>Do some <quote>fake mounts</quote>:</para> <screen><userinput>mount -f -t ramfs ramfs $LFS/dev mount -f -t tmpfs tmpfs $LFS/dev/shm |