瀏覽代碼

Bug 78: MAKEDEV-1.2

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@985 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Mark Hymers 24 年之前
父節點
當前提交
987aa00902
共有 5 個文件被更改,包括 37 次插入7 次删除
  1. 1 1
      chapter01/changelog.xml
  2. 3 1
      chapter06/makedev-exp.xml
  3. 17 3
      chapter06/makedev-inst.xml
  4. 14 0
      chapter08/fstab.xml
  5. 2 2
      index.xml

+ 1 - 1
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>

+ 3 - 1
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>
 

+ 17 - 3
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>
 

+ 14 - 0
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>
 

+ 2 - 2
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">