2001-01-24 00:31:17 +00:00
|
|
|
<sect2>
|
2001-03-28 22:20:29 +01:00
|
|
|
<title>Creating devices</title>
|
2001-01-24 00:31:17 +00:00
|
|
|
|
2001-08-17 00:21:31 +01:00
|
|
|
<para>Note: the MAKEDEV-&makedev-version;.bz2 file you have unpacked is not an archive, so it
|
2001-07-22 20:45:10 +01:00
|
|
|
won't create a directory for you to cd into.</para>
|
2001-04-14 04:37:07 +01:00
|
|
|
|
2001-07-22 20:45:10 +01:00
|
|
|
<para>Create the device files by running the following commands:</para>
|
2001-02-08 02:46:55 +00:00
|
|
|
|
2001-08-17 00:21:31 +01:00
|
|
|
<para><screen><userinput>cp MAKEDEV-&makedev-version; /dev/MAKEDEV &&</userinput>
|
2001-07-10 16:06:31 +01:00
|
|
|
<userinput>cd /dev &&</userinput>
|
2001-08-16 23:26:29 +01:00
|
|
|
<userinput>chmod 755 MAKEDEV</userinput></screen></para>
|
2001-02-08 02:46:55 +00:00
|
|
|
|
2001-08-16 23:26:29 +01:00
|
|
|
<para>Now, depending on whether you are going to use devpts or not, you
|
|
|
|
can run one of two commands:</para>
|
|
|
|
|
|
|
|
<para>If you do not intend to use devpts, run:</para>
|
|
|
|
<para><userinput>./MAKEDEV -v generic</userinput></para>
|
|
|
|
|
|
|
|
<para>If you do intend to use devpts, then run:</para>
|
|
|
|
<para><userinput>./MAKEDEV -v generic-nopty</userinput></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 you have the devices you need. If you are sure you are going to
|
|
|
|
use devpts however, the other command makes sure that you don't create a
|
|
|
|
set of devices which you don't require.</para>
|
|
|
|
|
|
|
|
<para>MAKEDEV will create hda[1-20] to hdh[1-20] and such but keep in mind
|
2001-05-06 21:48:49 +01:00
|
|
|
that you may not be able to use all of those devices due to kernel
|
2001-07-22 20:45:10 +01:00
|
|
|
limitations regarding the max. number of partitions.</para>
|
2001-02-23 19:47:41 +00:00
|
|
|
|
2001-01-24 00:31:17 +00:00
|
|
|
</sect2>
|
|
|
|
|