makedev-inst.xml 1.3 KB

123456789101112131415161718192021222324252627282930313233
  1. <sect2>
  2. <title>Creating devices</title>
  3. <para>Note: the MAKEDEV-&makedev-version;.bz2 file you have unpacked is not an archive, so it
  4. won't create a directory for you to cd into.</para>
  5. <para>Create the device files by running the following commands:</para>
  6. <para><screen><userinput>cp MAKEDEV-&makedev-version; /dev/MAKEDEV &amp;&amp;
  7. cd /dev &amp;&amp;
  8. chmod 754 MAKEDEV</userinput></screen></para>
  9. <para>Now, depending on whether you are going to use devpts or not, you
  10. can run one of two commands:</para>
  11. <para>If you do not intend to use devpts, run:</para>
  12. <para><screen><userinput>./MAKEDEV -v generic</userinput></screen></para>
  13. <para>If you do intend to use devpts, then run:</para>
  14. <para><screen><userinput>./MAKEDEV -v generic-nopty</userinput></screen></para>
  15. <para>Note that if you aren't sure, it's best to use
  16. the <userinput>./MAKEDEV -v generic</userinput> command as this will
  17. ensure you have the devices you need. If you are sure you are going to
  18. use devpts however, the other command makes sure that you don't create a
  19. set of devices which you don't require.</para>
  20. <para>MAKEDEV will create hda[1-20] to hdh[1-20] and such but keep in mind
  21. that you may not be able to use all of those devices due to kernel
  22. limitations regarding the max. number of partitions.</para>
  23. </sect2>