mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-19 13:37:39 +00:00
f044f4c521
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@444 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
35 lines
1.1 KiB
XML
35 lines
1.1 KiB
XML
<sect2>
|
|
<title>Creating devices</title>
|
|
|
|
<para>
|
|
Create the device files by running the following commands:
|
|
</para>
|
|
|
|
<blockquote><literallayout>
|
|
|
|
<userinput>chmod 755 MAKEDEV &&</userinput>
|
|
<userinput>cp MAKEDEV /dev &&</userinput>
|
|
<userinput>cd /dev &&</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 a user might need, such as audio devices,
|
|
hdc, hdd and others. If it seems something is missing MAKEDEV has to be told
|
|
to create it. To create hdc replace generic with hdc. A user can also add hdc
|
|
to generic, so he would execute <userinput>./MAKEDEV -v generic
|
|
hdc</userinput> to create the generic set of devices files, plus the
|
|
files he needs to be able to access hdc (and hdc1, hdc2, etc)
|
|
</para>
|
|
|
|
<para>
|
|
MAKEDEV will create hda[1-20] and hdb[1-20] and such but he has to keep in mind
|
|
that he may not be able to use all of those devices due to kernel
|
|
limitations regarding the max. number of partitions.
|
|
</para>
|
|
|
|
</sect2>
|
|
|