diff options
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/makedev-exp.xml | 4 | ||||
-rw-r--r-- | chapter06/makedev-inst.xml | 20 |
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 <device>.</para> +configuration. Create them with ./MAKEDEV -v <device>. +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 &&</userinput> <userinput>cd /dev &&</userinput> -<userinput>chmod 755 MAKEDEV &&</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> |