2003-01-15 09:25:15 +00:00
|
|
|
<sect2><title> </title><para> </para></sect2>
|
|
|
|
|
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
|
|
|
|
2003-01-15 09:25:15 +00:00
|
|
|
<para>Please note that unpacking the MAKEDEV-&makedev-version;.bz2 file
|
|
|
|
doesn't create a directory for you to <userinput>cd</userinput> into, as
|
|
|
|
the file contains one shell script.</para>
|
|
|
|
|
|
|
|
<para>Install the MAKEDEV script:</para>
|
2001-04-14 04:37:07 +01:00
|
|
|
|
2003-01-15 09:25:15 +00:00
|
|
|
<para><screen><userinput>cp MAKEDEV-&makedev-version; /dev/MAKEDEV</userinput></screen></para>
|
2001-02-08 02:46:55 +00:00
|
|
|
|
2003-01-15 09:25:15 +00:00
|
|
|
<para>Prepare the script for execution:</para>
|
|
|
|
|
|
|
|
<para><screen><userinput>cd /dev &&
|
2002-08-31 00:08:49 +01:00
|
|
|
chmod 754 MAKEDEV</userinput></screen></para>
|
2001-02-08 02:46:55 +00:00
|
|
|
|
2003-01-15 09:25:15 +00:00
|
|
|
<para>Run the script to create the device files:</para>
|
|
|
|
|
2002-09-02 16:46:18 +01:00
|
|
|
<para><screen><userinput>./MAKEDEV -v generic</userinput></screen></para>
|
2001-08-16 23:26:29 +01:00
|
|
|
|
2003-01-15 09:25:15 +00:00
|
|
|
<para>If a device you need is missing, try running
|
|
|
|
<userinput>./MAKEDEV -v <device></userinput>. Alternatively, you may
|
|
|
|
create devices via the <emphasis>mknod</emphasis> program. Please refer to
|
|
|
|
the man and info pages of <emphasis>mknod</emphasis> if you need more
|
|
|
|
information.</para>
|
2001-08-16 23:26:29 +01:00
|
|
|
|
2003-01-15 09:25:15 +00:00
|
|
|
<para>If you intend to use devpts, pass the
|
|
|
|
<userinput>generic-nopty</userinput> option to <filename>MAKEDEV</filename>.
|
|
|
|
This creates the same devices as <userinput>generic</userinput>, but it skips
|
|
|
|
the creation of pty devices so that devpts can manage them itself.</para>
|
2001-08-16 23:26:29 +01:00
|
|
|
|
2003-01-15 09:25:15 +00:00
|
|
|
<para><filename>MAKEDEV</filename> will create devices ranging from hda[1-20]
|
|
|
|
to hdh[1-20] and beyond, but keep in mind that you probably won't be able to
|
|
|
|
use all of these due to kernel limits on the maximum number of
|
2002-09-08 22:54:14 +01:00
|
|
|
partitions.</para>
|
2001-02-23 19:47:41 +00:00
|
|
|
|
2001-01-24 00:31:17 +00:00
|
|
|
</sect2>
|
|
|
|
|