mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-01-19 21:49:13 +00:00
cea989b674
created with this new MAKEDEV (yay!) *The usual "he -> you" changes git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@584 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
28 lines
716 B
XML
28 lines
716 B
XML
<sect2>
|
|
<title>Creating devices</title>
|
|
|
|
<para>
|
|
Note: the MAKEDEV.bz2 file you have unpacked is not an archive, so it
|
|
won't create a directory for you to cd into.
|
|
</para>
|
|
|
|
<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>
|
|
MAKEDEV will create hda[1-20] and hdb[1-20] and such but keep in mind
|
|
that you may not be able to use all of those devices due to kernel
|
|
limitations regarding the max. number of partitions.
|
|
</para>
|
|
|
|
</sect2>
|
|
|