makedev-inst.xml 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <sect2>
  2. <title>Creating devices</title>
  3. <para>
  4. Note: the MAKEDEV.bz2 file you have unpacked is not an archive, so it
  5. won't create a directory for you to cd into.
  6. </para>
  7. <para>
  8. Create the device files by running the following commands:
  9. </para>
  10. <blockquote><literallayout>
  11. <userinput>chmod 755 MAKEDEV &amp;&amp;</userinput>
  12. <userinput>cp MAKEDEV /dev &amp;&amp;</userinput>
  13. <userinput>cd /dev &amp;&amp;</userinput>
  14. <userinput>./MAKEDEV -v generic</userinput>
  15. </literallayout></blockquote>
  16. <para>
  17. The <quote>generic</quote> parameter passed to the MAKEDEV script
  18. doesn't create all the devices a user might need, such as audio devices,
  19. hdc, hdd and others. If it seems something is missing MAKEDEV has to be told
  20. to create it. To create hdc replace generic with hdc. A user can also add hdc
  21. to generic, so he would execute <userinput>./MAKEDEV -v generic
  22. hdc</userinput> to create the generic set of devices files, plus the
  23. files he needs to be able to access hdc (and hdc1, hdc2, etc)
  24. </para>
  25. <para>
  26. MAKEDEV will create hda[1-20] and hdb[1-20] and such but he has to keep in mind
  27. that he may not be able to use all of those devices due to kernel
  28. limitations regarding the max. number of partitions.
  29. </para>
  30. </sect2>