makedev-inst.xml 1.3 KB

12345678910111213141516171819202122232425262728293031323334
  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>rm /dev/null &amp;&amp;
  7. cp MAKEDEV-&makedev-version; /dev/MAKEDEV &amp;&amp;
  8. cd /dev &amp;&amp;
  9. chmod 754 MAKEDEV</userinput></screen></para>
  10. <para>Now, depending on whether you are going to use devpts or not, you
  11. can run one of two commands:</para>
  12. <para>If you do not intend to use devpts, run:</para>
  13. <para><screen><userinput>./MAKEDEV -v generic</userinput></screen></para>
  14. <para>If you do intend to use devpts, then run:</para>
  15. <para><screen><userinput>./MAKEDEV -v generic-nopty</userinput></screen></para>
  16. <para>Note that if you aren't sure, it's best to use
  17. the <userinput>./MAKEDEV -v generic</userinput> command as this will
  18. ensure you have the devices you need. If you are sure you are going to
  19. use devpts however, the other command makes sure that you don't create a
  20. set of devices which you don't require.</para>
  21. <para>MAKEDEV will create hda[1-20] to hdh[1-20] and such, but keep in mind
  22. that you may not be able to use all of these devices due to kernel
  23. limits on the maximum number of partitions.</para>
  24. </sect2>