diff options
author | Jeremy Utley <jeremy@linuxfromscratch.org> | 2003-09-26 05:58:52 +0000 |
---|---|---|
committer | Jeremy Utley <jeremy@linuxfromscratch.org> | 2003-09-26 05:58:52 +0000 |
commit | d725552ce5ad6df74b58efceaa52c4f271b2fe91 (patch) | |
tree | 2a2ad2c83a9f6dc37d1ca39805cb133afcb8ea4b | |
parent | 0bb2989ee05ee57bcce4a7233f8415902242cc25 (diff) |
Added a new solution to the devpts problem - mounting host's devfs system on top of our static /dev
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2886 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r-- | chapter06/makedev-inst.xml | 9 | ||||
-rw-r--r-- | chapter06/mountproc.xml | 12 |
2 files changed, 13 insertions, 8 deletions
diff --git a/chapter06/makedev-inst.xml b/chapter06/makedev-inst.xml index 571029432..75b3ecef8 100644 --- a/chapter06/makedev-inst.xml +++ b/chapter06/makedev-inst.xml @@ -35,5 +35,14 @@ create devices via the <emphasis>mknod</emphasis> program. Please refer to the man and info pages of <emphasis>mknod</emphasis> if you need more information.</para> +<para>Also, if earlier in Chapter 6 you were unable to mount the devpts +filesystem because your host uses devfs, we will now mount that devfs +system over top of this new static /dev structure. This poses no problems, +as the device nodes created are still present, they are just hidden by the +new devfs filesystem. Run the following command to mount devfs, if necessary: +</para> + +<para><screen><userinput>mount -t devfs devfs /dev</userinput></screen></para> + </sect2> diff --git a/chapter06/mountproc.xml b/chapter06/mountproc.xml index 9304854bb..cfe40f562 100644 --- a/chapter06/mountproc.xml +++ b/chapter06/mountproc.xml @@ -25,14 +25,10 @@ following command:</para> <blockquote><screen>filesystem devpts not supported by kernel</screen></blockquote> -<para>It means that your host system does not support devpts. You have two -options at this point. You can either not worry about it, in which case some -of the tests we will run later will fail, or you can use the following command -from a terminal not in chroot to put your host's pts system into your new -LFS's filesystem:</para> - -<para><screen><userinput>mount --bind /dev/pts $LFS/dev/pts</userinput></screen> -</para> +<para>This most likely means that your host system uses devfs, and does not +have the necessary support for devpts in the kernel. To work around this +problem, we will place the host's devfs system on top of the new /dev +structure later, in the section where we run the MAKEDEV script.</para> <para>You might get warning messages from the mount command, such as these:</para> |