| 12345678910111213141516171819202122232425262728293031 | <sect2><title>Creating devices</title><para>(Note that unpacking the MAKEDEV-&makedev-version;.bz2 file doesn't createa directory for you to cd into, as the file only contains a script.)</para><para>Prepare for the creation of the device files by running thefollowing commands:</para><para><screen><userinput>cp MAKEDEV-&makedev-version; /dev/MAKEDEV &&cd /dev &&chmod 754 MAKEDEV</userinput></screen></para><para>Most people will now want to create devices by running:</para><para><screen><userinput>./MAKEDEV -v generic</userinput></screen></para><para>But if you intend to use devpts, then run this instead:</para><para><screen><userinput>./MAKEDEV -v generic-nopty</userinput></screen></para><para>Note that if you aren't sure, it's best to use the<userinput>./MAKEDEV -v generic</userinput> command as this will ensure youhave all the devices you need. But if you are certain you are going to usedevpts, the other command skips creating a set of devices you won't need.</para><para><filename>MAKEDEV</filename> will create hda[1-20] to hdh[1-20] andmany more of such disk device nodes, but keep in mind that you probably won'tbe able to use all of these, due to kernel limits on the maximum number ofpartitions.</para></sect2>
 |