makedev-inst.xml 1.2 KB

1234567891011121314151617181920212223242526272829303132
  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>bzcat MAKEDEV-&makedev-version; &gt; /etc/MAKEDEV
  9. chmod 754 /etc/MAKEDEV</userinput></screen></para>
  10. <para>Run the script to create the device files:</para>
  11. <para><screen><userinput>./MAKEDEV -v generic</userinput></screen></para>
  12. <para>If a device you need is missing, try running
  13. <userinput>./MAKEDEV -v &lt;device&gt;</userinput>. Alternatively, you may
  14. create devices via the <emphasis>mknod</emphasis> program. Please refer to
  15. the man and info pages of <emphasis>mknod</emphasis> if you need more
  16. information.</para>
  17. <para>If you intend to use <emphasis>devpts</emphasis>, pass the
  18. <userinput>generic-nopty</userinput> option to <filename>MAKEDEV</filename>.
  19. This creates the same devices as <userinput>generic</userinput>, but it skips
  20. the creation of <emphasis>pty</emphasis> devices so that
  21. <emphasis>devpts</emphasis> can manage those.</para>
  22. </sect2>