aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/kernfs.xml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter06/kernfs.xml')
-rw-r--r--chapter06/kernfs.xml35
1 files changed, 19 insertions, 16 deletions
diff --git a/chapter06/kernfs.xml b/chapter06/kernfs.xml
index 34273b7b2..2bdf9f9c3 100644
--- a/chapter06/kernfs.xml
+++ b/chapter06/kernfs.xml
@@ -1,37 +1,40 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
-<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+ "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../general.ent">
%general-entities;
]>
+
<sect1 id="ch-system-kernfs">
-<title>Mounting Virtual Kernel File Systems</title>
-<?dbhtml filename="kernfs.html"?>
+ <?dbhtml filename="kernfs.html"?>
+
+ <title>Mounting Virtual Kernel File Systems</title>
-<para>Various file systems exported by the kernel are used to communicate to and
-from the kernel itself. These file systems are virtual in that no disk space is
-used for them. The content of the file systems resides in memory.</para>
+ <para>Various file systems exported by the kernel are used to communicate to and
+ from the kernel itself. These file systems are virtual in that no disk space is
+ used for them. The content of the file systems resides in memory.</para>
-<para>Begin by creating directories onto which the file systems will be mounted:</para>
+ <para>Begin by creating directories onto which the file systems will be
+ mounted:</para>
<screen><userinput>mkdir -pv $LFS/{proc,sys}</userinput></screen>
-<para>Now mount the file systems:</para>
+ <para>Now mount the file systems:</para>
<screen><userinput>mount -vt proc proc $LFS/proc
mount -vt sysfs sysfs $LFS/sys</userinput></screen>
-<para>Remember that if for any reason you stop working on the LFS
-system and start again later, it is important to check that these file
-systems are mounted again before entering the chroot
-environment.</para>
+ <para>Remember that if for any reason you stop working on the LFS
+ system and start again later, it is important to check that these file
+ systems are mounted again before entering the chroot
+ environment.</para>
-<para>Additional file systems will soon be mounted from within the
-chroot environment. To keep the host up to date, perform a <quote>fake
-mount</quote> for each of these now:</para>
+ <para>Additional file systems will soon be mounted from within the
+ chroot environment. To keep the host up to date, perform a <quote>fake
+ mount</quote> for each of these now:</para>
<screen><userinput>mount -vft tmpfs tmpfs $LFS/dev
mount -vft tmpfs tmpfs $LFS/dev/shm
mount -vft devpts -o gid=4,mode=620 devpts $LFS/dev/pts</userinput></screen>
</sect1>
-