makedev-inst.xml 1.3 KB

123456789101112131415161718192021222324252627282930313233343536
  1. <sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
  2. <sect2>
  3. <title>Creating devices</title>
  4. <para>Please note that unpacking the MAKEDEV-&makedev-version;.bz2 file
  5. doesn't create a directory for you to <userinput>cd</userinput> into, as
  6. the file contains one shell script.</para>
  7. <para>Install the MAKEDEV script:</para>
  8. <para><screen><userinput>cp MAKEDEV-&makedev-version; /dev/MAKEDEV</userinput></screen></para>
  9. <para>Prepare the script for execution:</para>
  10. <para><screen><userinput>cd /dev &amp;&amp;
  11. chmod 754 MAKEDEV</userinput></screen></para>
  12. <para>Run the script to create the device files:</para>
  13. <para><screen><userinput>./MAKEDEV -v generic</userinput></screen></para>
  14. <para>If a device you need is missing, try running
  15. <userinput>./MAKEDEV -v &lt;device&gt;</userinput>. Alternatively, you may
  16. create devices via the <emphasis>mknod</emphasis> program. Please refer to
  17. the man and info pages of <emphasis>mknod</emphasis> if you need more
  18. information.</para>
  19. <para>If you intend to use <emphasis>devpts</emphasis>, pass the
  20. <userinput>generic-nopty</userinput> option to <filename>MAKEDEV</filename>.
  21. This creates the same devices as <userinput>generic</userinput>, but it skips
  22. the creation of <emphasis>pty</emphasis> devices so that
  23. <emphasis>devpts</emphasis> can manage those.</para>
  24. </sect2>