cvs commit: LFS/BOOK/entities makedev.ent

timothy at timothy at
Wed Jan 15 01:25:15 PST 2003

timothy     03/01/15 04:25:15

  Modified:    BOOK/appendixa makedev-dep.xml
               BOOK/chapter06 makedev-inst.xml makedev.xml
               BOOK/entities makedev.ent
  Added:       BOOK/appendixa makedev-shortdesc.xml
  Removed:     BOOK/chapter06 makedev-exp.xml
  Convert makedev into new layout.
  Revision  Changes    Path
  1.7       +2 -0      LFS/BOOK/appendixa/makedev-dep.xml
  Index: makedev-dep.xml
  RCS file: /home/cvsroot/LFS/BOOK/appendixa/makedev-dep.xml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- makedev-dep.xml	12 Sep 2002 16:44:20 -0000	1.6
  +++ makedev-dep.xml	15 Jan 2003 09:25:15 -0000	1.7
  @@ -1,3 +1,5 @@
  +<sect2><title> </title><para> </para></sect2>
   <title>MAKEDEV Installation Dependencies</title>
  1.1                  LFS/BOOK/appendixa/makedev-shortdesc.xml
  Index: makedev-shortdesc.xml
  <sect2><title>Contents of MAKEDEV</title>
  <para>Last checked against version &makedev-contversion;.</para>
  <para>The MAKEDEV script creates the static device nodes which
  usually reside in the <filename class="directory">/dev</filename>
  directory. Detailed information about device nodes may be found
  in the <filename>Documentation/devices.txt</filename> file under
  the Linux kernel source tree.</para>
  <sect3><title>Program Files</title>
  1.27      +27 -18    LFS/BOOK/chapter06/makedev-inst.xml
  Index: makedev-inst.xml
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/makedev-inst.xml,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- makedev-inst.xml	28 Sep 2002 21:08:29 -0000	1.26
  +++ makedev-inst.xml	15 Jan 2003 09:25:15 -0000	1.27
  @@ -1,30 +1,39 @@
  +<sect2><title> </title><para> </para></sect2>
   <title>Creating devices</title>
  -<para>Note that unpacking the MAKEDEV-&makedev-version;.bz2 file doesn't create
  -a directory for you to cd into, as the file only contains a script.</para>
  +<para>Please note that unpacking the MAKEDEV-&makedev-version;.bz2 file
  +doesn't create a directory for you to <userinput>cd</userinput> into, as
  +the file contains one shell script.</para>
  +<para>Install the MAKEDEV script:</para>
  +<para><screen><userinput>cp MAKEDEV-&makedev-version; /dev/MAKEDEV</userinput></screen></para>
  -<para>Prepare for the creation of the device files by running the
  -following commands:</para>
  +<para>Prepare the script for execution:</para>
  -<para><screen><userinput>cp MAKEDEV-&makedev-version; /dev/MAKEDEV &&
  -cd /dev &&
  +<para><screen><userinput>cd /dev &&
   chmod 754 MAKEDEV</userinput></screen></para>
  -<para>Most people will now want to create devices by running:</para>
  -<para><screen><userinput>./MAKEDEV -v generic</userinput></screen></para>
  +<para>Run the script to create the device files:</para>
  -<para>But if you intend to use devpts, then run this instead:</para>
  -<para><screen><userinput>./MAKEDEV -v generic-nopty</userinput></screen></para>
  +<para><screen><userinput>./MAKEDEV -v generic</userinput></screen></para>
  -<para>Note that if you aren't sure, it's best to use the
  -<userinput>./MAKEDEV -v generic</userinput> command as this will ensure you
  -have all the devices you need. But if you are certain you are going to use
  -devpts, the other command skips creating a set of devices you won't need.</para>
  -<para><filename>MAKEDEV</filename> will create hda[1-20] to hdh[1-20] and
  -many more of such disk device nodes, but keep in mind that you probably won't
  -be able to use all of these, due to kernel limits on the maximum number of
  +<para>If a device you need is missing, try running
  +<userinput>./MAKEDEV -v <device></userinput>. Alternatively, you may
  +create devices via the <emphasis>mknod</emphasis> program. Please refer to
  +the man and info pages of <emphasis>mknod</emphasis> if you need more
  +<para>If you intend to use devpts, pass the
  +<userinput>generic-nopty</userinput> option to <filename>MAKEDEV</filename>.
  +This creates the same devices as <userinput>generic</userinput>, but it skips
  +the creation of pty devices so that devpts can manage them itself.</para>
  +<para><filename>MAKEDEV</filename> will create devices ranging from hda[1-20]
  +to hdh[1-20] and beyond, but keep in mind that you probably won't be able to
  +use all of these due to kernel limits on the maximum number of
  1.9       +2 -3      LFS/BOOK/chapter06/makedev.xml
  Index: makedev.xml
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/makedev.xml,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- makedev.xml	14 Dec 2001 23:04:46 -0000	1.8
  +++ makedev.xml	15 Jan 2003 09:25:15 -0000	1.9
  @@ -5,10 +5,9 @@
   <screen>Estimated build time:           &makedev-time;
   Estimated required disk space:  &makedev-compsize;</screen>
  1.9       +1 -1      LFS/BOOK/entities/makedev.ent
  Index: makedev.ent
  RCS file: /home/cvsroot/LFS/BOOK/entities/makedev.ent,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- makedev.ent	24 Oct 2002 01:23:51 -0000	1.8
  +++ makedev.ent	15 Jan 2003 09:25:15 -0000	1.9
  @@ -2,12 +2,12 @@
   <!ENTITY c6-makedev SYSTEM "../chapter06/makedev.xml">
   <!ENTITY c6-makedev-inst SYSTEM "../chapter06/makedev-inst.xml">
  -<!ENTITY c6-makedev-exp SYSTEM "../chapter06/makedev-exp.xml">
   <!ENTITY aa-makedev SYSTEM "../appendixa/makedev.xml">
   <!ENTITY aa-makedev-desc SYSTEM "../appendixa/makedev-desc.xml">
   <!ENTITY aa-makedev-dep SYSTEM "../appendixa/makedev-dep.xml">
   <!ENTITY aa-makedev-down SYSTEM "../appendixa/makedev-down.xml">
  +<!ENTITY aa-makedev-shortdesc SYSTEM "../appendixa/makedev-shortdesc.xml">
   <!ENTITY makedev-version "1.7">
   <!ENTITY makedev-depversion "1.5">
Unsubscribe: send email to listar at
and put 'unsubscribe lfs-book' in the subject header of the message

More information about the lfs-book mailing list