mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-08-05 02:55:32 +01:00
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
This commit is contained in:
parent
0bb2989ee0
commit
d725552ce5
@ -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
|
the man and info pages of <emphasis>mknod</emphasis> if you need more
|
||||||
information.</para>
|
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>
|
</sect2>
|
||||||
|
|
||||||
|
@ -25,14 +25,10 @@ following command:</para>
|
|||||||
|
|
||||||
<blockquote><screen>filesystem devpts not supported by kernel</screen></blockquote>
|
<blockquote><screen>filesystem devpts not supported by kernel</screen></blockquote>
|
||||||
|
|
||||||
<para>It means that your host system does not support devpts. You have two
|
<para>This most likely means that your host system uses devfs, and does not
|
||||||
options at this point. You can either not worry about it, in which case some
|
have the necessary support for devpts in the kernel. To work around this
|
||||||
of the tests we will run later will fail, or you can use the following command
|
problem, we will place the host's devfs system on top of the new /dev
|
||||||
from a terminal not in chroot to put your host's pts system into your new
|
structure later, in the section where we run the MAKEDEV script.</para>
|
||||||
LFS's filesystem:</para>
|
|
||||||
|
|
||||||
<para><screen><userinput>mount --bind /dev/pts $LFS/dev/pts</userinput></screen>
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>You might get warning messages from the mount command, such as
|
<para>You might get warning messages from the mount command, such as
|
||||||
these:</para>
|
these:</para>
|
||||||
|
Loading…
Reference in New Issue
Block a user