aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/makedev-inst.xml
blob: e13002d8265dd35f307018d1f9ce7f2898a1f396 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<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>cp MAKEDEV-1.1 /dev/MAKEDEV &amp;&amp;
		</userinput>
	<userinput>cd /dev &amp;&amp;</userinput>
	<userinput>chmod 755 MAKEDEV &amp;&amp;</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>