createdeventries.sgml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <sect2>
  2. <title>Creating the /dev entries</title>
  3. <para>
  4. Create the device files by running the following commands:
  5. </para>
  6. <blockquote><literallayout>
  7. <userinput>cd /dev &amp;&amp;</userinput>
  8. <userinput>./MAKEDEV -v generic</userinput>
  9. </literallayout></blockquote>
  10. <para>
  11. The <quote>generic</quote> parameter passed to the MAKEDEV script
  12. doesn't create all the devices you might need, such as audio devices,
  13. hdc, hdd and ohters. If you seem to be missing something tell MAKEDEV to
  14. create it. To create hdc replace generic with hdc. You can also add hdc
  15. to generic, so you would execute <userinput>./MAKEDEV -v generic
  16. hdc</userinput> to create the generic set of devices files, plus the
  17. files you need to be able to access hdc (and hdc1, hdc2, etc)
  18. </para>
  19. <para>
  20. Please note that this script dates back from 1997 and therefore can be
  21. outdated and not support newer hardware. If you need device files which
  22. aren't known by this script please read the Documentation/devices.txt
  23. file in a Linux source tree. This file lists all the major and minor
  24. numbers for all the device files that the kernel knows about. With this
  25. list you can create such device files yourself. See the mknod man page
  26. for more information on how to make device files yourself.
  27. </para>
  28. </sect2>