2001-01-24 00:31:17 +00:00
|
|
|
<sect1 id="ch05-proc">
|
|
|
|
<title>Mounting $LFS/proc file system</title>
|
2001-09-26 00:55:44 +01:00
|
|
|
<?dbhtml filename="proc.html" dir="chapter05"?>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2002-01-23 18:21:39 +00:00
|
|
|
<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>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2002-01-23 18:21:39 +00:00
|
|
|
<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>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2001-07-22 20:45:10 +01:00
|
|
|
<para><screen><userinput>mount proc $LFS/proc -t proc</userinput></screen></para>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
|
|
|
</sect1>
|
|
|
|
|