diff options
author | Matthew Burgess <matthew@linuxfromscratch.org> | 2004-05-03 10:59:46 +0000 |
---|---|---|
committer | Matthew Burgess <matthew@linuxfromscratch.org> | 2004-05-03 10:59:46 +0000 |
commit | 673b0d84ba9591e07c0bdf0ee49d92eba10f502c (patch) | |
tree | 129e27a1450727b440da4378e0117a468eb9c25e /chapter06/makedev.xml | |
parent | 287ea55da70ceb1f0990554b7db921d525fef816 (diff) |
* Merged newxml into HEAD
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3435 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/makedev.xml')
-rw-r--r-- | chapter06/makedev.xml | 54 |
1 files changed, 37 insertions, 17 deletions
diff --git a/chapter06/makedev.xml b/chapter06/makedev.xml index a83f07885..6d6e08edb 100644 --- a/chapter06/makedev.xml +++ b/chapter06/makedev.xml @@ -1,17 +1,24 @@ +<?xml version="1.0" encoding="ISO-8859-1"?> +<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [ + <!ENTITY % general-entities SYSTEM "../general.ent"> + %general-entities; +]> <sect1 id="ch-system-MAKEDEV" xreflabel="Make_devices"> <title>Creating devices with Make_devices-&makedev-version;</title> -<?dbhtml filename="makedevices.html" dir="chapter06"?> +<?dbhtml filename="makedevices.html"?> + +<indexterm zone="ch-system-MAKEDEV"><primary sortas="a-Make_devices">Make_devices</primary></indexterm> <para>The Make_devices package contains a script for creating device nodes.</para> -<screen>&buildtime; &makedev-time; -&diskspace; &makedev-compsize;</screen> +<screen>&buildtime; 1 SBU +&diskspace; 160 KB</screen> + +<para>For its installation Make_devices depends on: Bash, Bzip2, +Coreutils.</para> -&aa-makedev-down; -&aa-makedev-dep; -<sect2><title> </title><para> </para></sect2> <sect2> <title>Making devices</title> @@ -63,23 +70,36 @@ you are satisfied, run the script to create the device files:</para> <screen><userinput>cd /dev ./make_devices</userinput></screen> -<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 +<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, 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 +your editor, go to the section <quote>Pseudo-TTY masters</quote> 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 <quote>Pseudo-TTY +slaves</quote>, 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> -&aa-makedev-shortdesc; -&aa-makedev-desc; -</sect1> +<sect2 id="contents-makedev"><title>Contents of Make_devices</title> + +<para><emphasis>Installed script</emphasis>: make_devices</para> + +</sect2> + +<sect2><title>Short description</title> +<indexterm zone="ch-system-MAKEDEV make_devices"><primary sortas="d-make_devices">make_devices</primary></indexterm> +<para id="make_devices"><command>make_devices</command> is a script for creating a basic set of +static device nodes, usually residing in the <filename class="directory">/dev</filename> directory.</para> + +</sect2> + + + +</sect1> |