diff options
author | Gerard Beekmans <gerard@linuxfromscratch.org> | 2002-05-25 00:21:12 +0000 |
---|---|---|
committer | Gerard Beekmans <gerard@linuxfromscratch.org> | 2002-05-25 00:21:12 +0000 |
commit | 1987d724ce4059e12b51962be50c59d30a4a148d (patch) | |
tree | 1c165b6c8cf19ed18668659078a71692e228b59e /chapter06/mountproc.xml | |
parent | 5e2cb652195321c7f63b5d22077e583b75118178 (diff) |
second set of commits for keep-chap5-chap6-seperate
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1897 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/mountproc.xml')
-rw-r--r-- | chapter06/mountproc.xml | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/chapter06/mountproc.xml b/chapter06/mountproc.xml new file mode 100644 index 000000000..953a57822 --- /dev/null +++ b/chapter06/mountproc.xml @@ -0,0 +1,22 @@ +<sect1 id="ch06-proc"> +<title>Mounting $LFS/proc file system</title> +<?dbhtml filename="proc.html" dir="chapter06"?> + +<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 (or any other +file system for that matter) twice or even more than that.</para> + +<para>If you're still logged in as user "lfs", you should log out and log +in again as user root. The reason for this is simple: only root is allowed +to mount filesystems and to run chroot.</para> + +<para>The proc file system is mounted under $LFS/proc by running the +following command. We'll also chown it to user root/group root while we're +at it (the rest of the filesystem is chown'ed to root:root in a minute when +we start with chapter 6).</para> + +<para><screen><userinput>mount proc /proc -t proc</userinput></screen></para> + +</sect1> + |