diff options
author | Greg Schafer <greg@linuxfromscratch.org> | 2003-09-27 03:38:15 +0000 |
---|---|---|
committer | Greg Schafer <greg@linuxfromscratch.org> | 2003-09-27 03:38:15 +0000 |
commit | 7e602eabe602030b09e5d299f8c7e5c2a751081b (patch) | |
tree | f54e772e160681a99c859ebe4e1f691aaa147e15 /chapter06/makedev-inst.xml | |
parent | 72b845e68138e36852a54b46657f8db376c73e12 (diff) |
Chapter 6 - Clarify remaining PTY issues.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2893 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/makedev-inst.xml')
-rw-r--r-- | chapter06/makedev-inst.xml | 22 |
1 files changed, 16 insertions, 6 deletions
diff --git a/chapter06/makedev-inst.xml b/chapter06/makedev-inst.xml index 75b3ecef8..fd8b087dd 100644 --- a/chapter06/makedev-inst.xml +++ b/chapter06/makedev-inst.xml @@ -35,14 +35,24 @@ 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>Additionally, if you were unable to mount the devpts filesystem earlier in +the "Mounting the proc and devpts file systems" section, now is the time to +try the alternatives. If your kernel supports the devfs file system, run the +following command to mount devfs:</para> <para><screen><userinput>mount -t devfs devfs /dev</userinput></screen></para> +<para>This will mount the devfs file system over the top of the new static +<filename>/dev</filename> structure. This poses no problems, as the device nodes +created are still present, they are just hidden by the new devfs +filesystem.</para> + +<para>If this still doesn't work, the only option left is to use the MAKEDEV +script to create the ptyXX and ttyXX range of files that would otherwise not be +needed. Ensure you are still in the <filename>/dev</filename> directory then run +<userinput>./MAKEDEV -v pty</userinput>. The downside of this is, we are +creating an extra 512 device special files which will not be needed when we +finally boot into the finished LFS system.</para> + </sect2> |