aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chapter01/changelog.xml2
-rw-r--r--chapter06/makedev-exp.xml4
-rw-r--r--chapter06/makedev-inst.xml20
-rw-r--r--chapter08/fstab.xml14
-rw-r--r--index.xml4
5 files changed, 37 insertions, 7 deletions
diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml
index 04a5260b5..4076aa5a8 100644
--- a/chapter01/changelog.xml
+++ b/chapter01/changelog.xml
@@ -9,7 +9,7 @@
<itemizedlist>
-<listitem><para>MAKEDEV-1-1</para></listitem>
+<listitem><para>MAKEDEV-1.2</para></listitem>
<listitem><para>autoconf-2.52</para></listitem>
<listitem><para>automake-1.4-p5</para></listitem>
<listitem><para>binutils-2.11.2</para></listitem>
diff --git a/chapter06/makedev-exp.xml b/chapter06/makedev-exp.xml
index 0a41c24bc..377fc42f9 100644
--- a/chapter06/makedev-exp.xml
+++ b/chapter06/makedev-exp.xml
@@ -4,7 +4,9 @@
<para><userinput>./MAKEDEV -v generic:</userinput> This creates generic
devices. Normally, these devices are all the devices you need. It's possible
that you are missing some special devices that are needed for your hardware
-configuration. Create them with ./MAKEDEV -v &lt;device&gt;.</para>
+configuration. Create them with ./MAKEDEV -v &lt;device&gt;.
+The <userinput>generic-nopty</userinput> option does a similar job but skips
+some devices which are not needed if you are using devpts.</para>
</sect2>
diff --git a/chapter06/makedev-inst.xml b/chapter06/makedev-inst.xml
index 3ea236280..a7ac2616c 100644
--- a/chapter06/makedev-inst.xml
+++ b/chapter06/makedev-inst.xml
@@ -8,10 +8,24 @@ won't create a directory for you to cd into.</para>
<para><screen><userinput>cp MAKEDEV-1.1 /dev/MAKEDEV &amp;&amp;</userinput>
<userinput>cd /dev &amp;&amp;</userinput>
-<userinput>chmod 755 MAKEDEV &amp;&amp;</userinput>
-<userinput>./MAKEDEV -v generic</userinput></screen></para>
+<userinput>chmod 755 MAKEDEV</userinput></screen></para>
-<para>MAKEDEV will create hda[1-20] and hdb[1-20] and such but keep in mind
+<para>Now, depending on whether you are going to use devpts or not, you
+can run one of two commands:</para>
+
+<para>If you do not intend to use devpts, run:</para>
+<para><userinput>./MAKEDEV -v generic</userinput></para>
+
+<para>If you do intend to use devpts, then run:</para>
+<para><userinput>./MAKEDEV -v generic-nopty</userinput></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 the devices you need. If you are sure you are going to
+use devpts however, the other command makes sure that you don't create a
+set of devices which you don't require.</para>
+
+<para>MAKEDEV will create hda[1-20] to hdh[1-20] and such but keep in mind
that you may not be able to use all of those devices due to kernel
limitations regarding the max. number of partitions.</para>
diff --git a/chapter08/fstab.xml b/chapter08/fstab.xml
index 27249ff3e..90a772231 100644
--- a/chapter08/fstab.xml
+++ b/chapter08/fstab.xml
@@ -29,5 +29,19 @@ the end of the line should be replaced with <userinput>0 0</userinput>.</para>
<para>For more information on the various fields which are in the fstab
file, see <userinput>man 5 fstab</userinput>.</para>
+<para>There are other lines which you may consider adding to your fstab
+file. One example is the line which you must have if you are using
+devpts, note that you must also create the /dev/pts directory for this
+to work:</para>
+<para><screen>none /dev/pts devpts gid=4,mode=620 0 0</screen></para>
+
+<para>Another example is a line to use if you intend to use USB
+devices. This time, you don't create the directory as it's part of the
+proc virtual filesystem:</para>
+<para><screen>none /proc/bus/usb usbdevfs defaults 0 0</screen></para>
+
+<para>Both of these options will only work if you have the relevant
+support compiled into your kernel.</para>
+
</sect1>
diff --git a/index.xml b/index.xml
index 80b5405f3..feaabf374 100644
--- a/index.xml
+++ b/index.xml
@@ -517,7 +517,7 @@
<!ENTITY ac-netkitbase SYSTEM "appendixc/netkitbase.xml">
<!ENTITY ac-nettools SYSTEM "appendixc/nettools.xml">
-<!ENTITY all-version "cvs-20010816-1400">
+<!ENTITY all-version "cvs-20010816-1530">
<!ENTITY all-size-kb "77,660 KB">
<!ENTITY all-size-mb "75.84 MB">
@@ -658,7 +658,7 @@
<!ENTITY glibc-compsize "372 MB">
<!ENTITY glibc-time "46 minutes">
-<!ENTITY makedev-version "1.1">
+<!ENTITY makedev-version "1.2">
<!ENTITY makedev-size "7 KB">
<!ENTITY makedev-compsize "57 KB">
<!ENTITY makedev-time "1 minute">