aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorMark Hymers <markh@linuxfromscratch.org>2001-08-16 22:26:29 +0000
committerMark Hymers <markh@linuxfromscratch.org>2001-08-16 22:26:29 +0000
commit987aa009028dc0e036b3f40b70452f2fa9161a0c (patch)
tree3c4591b43bc85787e1dfb54862c7a4e53eb9b84e /chapter06
parentea57e1b0d1a4372b2e310e04c73d4a0dfa3c0c1d (diff)
Bug 78: MAKEDEV-1.2
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@985 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/makedev-exp.xml4
-rw-r--r--chapter06/makedev-inst.xml20
2 files changed, 20 insertions, 4 deletions
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>