proc.xml 813 B

123456789101112131415161718192021
  1. <sect1 id="ch05-proc">
  2. <title>Mounting $LFS/proc file system</title>
  3. <?dbhtml filename="proc.html" dir="chapter05"?>
  4. <para>In order for certain programs to function properly, the proc file
  5. system must be mounted and available from within the chroot'ed environment
  6. as well. It's not a problem to mount the proc file system twice or even
  7. more than that, since it's a virtual file system maintained by the kernel
  8. itself.</para>
  9. <para>If you're still logged in as user "lfs", you should log out and log
  10. in again as user root. The reason for this is simple: only root is allowed
  11. to mount filesystems and to run chroot.</para>
  12. <para>The proc file system is mounted under $LFS/proc by running the
  13. following command:</para>
  14. <para><screen><userinput>mount proc $LFS/proc -t proc</userinput></screen></para>
  15. </sect1>