| 123456789101112131415161718192021 | <sect1 id="ch05-proc"><title>Mounting $LFS/proc file system</title><?dbhtml filename="proc.html" dir="chapter05"?><para>In order for certain programs to function properly, the proc filesystem must be mounted and available from within the chroot'ed environmentas well. It's not a problem to mount the proc file system (or any otherfile system for that matter) twice or even more than that, since it's avirtual file system maintained by the kernel itself.</para><para>If you're still logged in as user "lfs", you should log out and login again as user root. The reason for this is simple: only root is allowedto mount filesystems and to run chroot.</para><para>The proc file system is mounted under $LFS/proc by running thefollowing command:</para><para><screen><userinput>mount proc $LFS/proc -t proc</userinput></screen></para></sect1>
 |