makedev-inst.xml 1.1 KB

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