aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/proc.sgml
diff options
context:
space:
mode:
Diffstat (limited to 'chapter05/proc.sgml')
-rw-r--r--chapter05/proc.sgml23
1 files changed, 23 insertions, 0 deletions
diff --git a/chapter05/proc.sgml b/chapter05/proc.sgml
new file mode 100644
index 000000000..044ccd6c6
--- /dev/null
+++ b/chapter05/proc.sgml
@@ -0,0 +1,23 @@
+<sect1 id="ch05-proc">
+<title>Mounting $LFS/proc file system</title>
+
+<para>
+In order for certain programs to function properly the proc file system
+must be mounted and available from within the chroot'ed environment as
+well. It's not a problem to mount the proc file system twice
+or even more than that, since it's a virtual file system maintained by
+the kernel itself.
+</para>
+
+<para>
+Mount the proc file system under $LFS/proc by running the following command:
+</para>
+
+<blockquote><literallayout>
+
+ <userinput>mount proc $LFS/proc -t proc</userinput>
+
+</literallayout></blockquote>
+
+</sect1>
+