lfs/chapter06/makedev-inst.xml
Jeremy Utley 0650a034c7 Minor typos
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2744 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2003-09-06 01:52:45 +00:00

28 lines
908 B
XML

<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
<sect2>
<title>Creating devices</title>
<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>
<para><screen><userinput>bzcat MAKEDEV-&makedev-version;.bz2 &gt; /dev/MAKEDEV
chmod 754 /dev/MAKEDEV</userinput></screen></para>
<para>Run the script to create the device files:</para>
<para><screen><userinput>cd /dev
./MAKEDEV -v generic-nopty</userinput></screen></para>
<para>If a device you need is missing, try running
<userinput>./MAKEDEV -v &lt;device&gt;</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>
</sect2>