diff options
Diffstat (limited to 'chapter06/makedev.xml')
-rw-r--r-- | chapter06/makedev.xml | 29 |
1 files changed, 10 insertions, 19 deletions
diff --git a/chapter06/makedev.xml b/chapter06/makedev.xml index 271ebef80..a83f07885 100644 --- a/chapter06/makedev.xml +++ b/chapter06/makedev.xml @@ -65,25 +65,16 @@ you are satisfied, run the script to create the device files:</para> <para>If you had success with mounting the devpts file system earlier in <xref linkend="ch-system-proc"/>, you can continue with the next section. If you were -unable to mount devpts, now is the time to try the alternatives. If your kernel -supports the devfs file system, run the following command to mount -devfs:</para> - -<screen><userinput>mount -t devfs devfs /dev</userinput></screen> - -<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 file -system.</para> - -<para>If that didn't work either, the only option left is to create a few ptyXX -and ttyXX device nodes. To do this, open <filename>make_devices</filename> in -your editor, go to the section "Pseudo-TTY masters" and enable as many ptyXX -devices as you think you will need (every xterm, ssh connection, telnet -connection, and the like, uses one of these pseudo terminals). In the -immediately following section "Pseudo-TTY slaves", enable the corresponding -ttyXX devices. When you are done, rerun <command>./make_devices</command> from -inside <filename>/dev</filename> to have it create the new devices.</para> +unable to mount devpts, you will have to create a few static ptyXX and ttyXX +device nodes instead. To do this, open <filename>make_devices</filename> in +your editor, go to the section "Pseudo-TTY masters" and enable a few ptyXX +devices -- a handful are enough to enable the test suites to run, but if you +plan to run a kernel without devpts support you will probably need many more +(every xterm, ssh connection, telnet connection, and the like, uses one of +these pseudo terminals). In the immediately following section "Pseudo-TTY +slaves", enable the corresponding ttyXX devices. When you are done, rerun +<command>./make_devices</command> from inside <filename>/dev</filename> to +have it create the new devices.</para> </sect2> |