lfs/chapter06/makedev-inst.sgml
Gerard Beekmans 9a18ca037d Merged with makedev-inst.sgml
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@117 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
2001-02-08 02:46:55 +00:00

38 lines
1.0 KiB
Plaintext

<sect2>
<title>Installation of MAKEDEV</title>
<para>
Install MAKEDEV by running the following commands:
</para>
<blockquote><literallayout>
<userinput>sed "s/# 9/9/" MAKEDEV &gt;/dev/MAKEDEV &amp;&amp;</userinput>
<userinput>chmod 754 /dev/MAKEDEV</userinput>
</literallayout></blockquote>
<para>
Create the device files by running the following commands:
</para>
<blockquote><literallayout>
<userinput>cd /dev &amp;&amp;</userinput>
<userinput>./MAKEDEV -v generic</userinput>
</literallayout></blockquote>
<para>
The <quote>generic</quote> parameter passed to the MAKEDEV script
doesn't create all the devices you might need, such as audio devices,
hdc, hdd and ohters. If you seem to be missing something tell MAKEDEV to
create it. To create hdc replace generic with hdc. You can also add hdc
to generic, so you would execute <userinput>./MAKEDEV -v generic
hdc</userinput> to create the generic set of devices files, plus the
files you need to be able to access hdc (and hdc1, hdc2, etc)
</para>
</sect2>