aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05/proc.xml
diff options
context:
space:
mode:
authorMarc Heerdink <gimli@linuxfromscratch.org>2002-01-23 18:21:39 +0000
committerMarc Heerdink <gimli@linuxfromscratch.org>2002-01-23 18:21:39 +0000
commit93dba6aba6b5b53738a436ea6bbecfd8e4c9c46e (patch)
tree6907a2aba6bd97e351564da1b14047581825a766 /chapter05/proc.xml
parent0aecdecd6293ed9b2ab0c0b2efe1c008a59f0f93 (diff)
Implemented bug 149 (install chapter 5 as an unprivileged user)
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1469 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05/proc.xml')
-rw-r--r--chapter05/proc.xml18
1 files changed, 11 insertions, 7 deletions
diff --git a/chapter05/proc.xml b/chapter05/proc.xml
index 7cb5adcee..a775d3f11 100644
--- a/chapter05/proc.xml
+++ b/chapter05/proc.xml
@@ -2,14 +2,18 @@
<title>Mounting $LFS/proc file system</title>
<?dbhtml filename="proc.html" dir="chapter05"?>
-<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>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>The proc file system is mounted under $LFS/proc by running the following
-command:</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:</para>
<para><screen><userinput>mount proc $LFS/proc -t proc</userinput></screen></para>