mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-19 03:39:20 +01:00
Removed makedev
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@402 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
eeeea351dc
commit
683076e12a
@ -1,18 +0,0 @@
|
|||||||
<sect2>
|
|
||||||
<title>Command explanations</title>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
<userinput>sed "s/# 9/9/" MAKEDEV >/dev/MAKEDEV:</userinput> By
|
|
||||||
default the Makedev script only creates the hda1-hda8 and hdb1-hdb8
|
|
||||||
devices. By replacing "# 9" by "9"'s in the MAKEDEV script, it will
|
|
||||||
create hda1-hda20, hdb1-hdb20 and possible others (like hdc and hdd)
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
<userinput>chmod 754 /dev/MAKEDEV:</userinput> This sets the permissions
|
|
||||||
of the MAKEDEV script to mode 754 which makes it executable only for
|
|
||||||
owner and group and readable by everybody.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
</sect2>
|
|
||||||
|
|
@ -1,26 +0,0 @@
|
|||||||
<sect2>
|
|
||||||
<title>Installation of MAKEDEV</title>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
Install MAKEDEV by running the following commands:
|
|
||||||
</para>
|
|
||||||
|
|
||||||
<blockquote><literallayout>
|
|
||||||
|
|
||||||
<userinput>sed s/"# 9"/9/ MAKEDEV >$LFS/dev/MAKEDEV
|
|
||||||
&&</userinput>
|
|
||||||
<userinput>cd $LFS/dev &&</userinput>
|
|
||||||
<userinput>chmod 754 MAKEDEV &&</userinput>
|
|
||||||
<userinput>cp MAKEDEV MAKEDEV-temp &&</userinput>
|
|
||||||
<userinput>patch -Ni $LFS/usr/src/MAKEDEV-2.5.patch</userinput>
|
|
||||||
|
|
||||||
|
|
||||||
</literallayout></blockquote>
|
|
||||||
|
|
||||||
<para>
|
|
||||||
The actual creation of the device files in $LFS/dev will be taken care
|
|
||||||
of in chapter 6.
|
|
||||||
</para>
|
|
||||||
|
|
||||||
</sect2>
|
|
||||||
|
|
@ -1,9 +0,0 @@
|
|||||||
<sect1 id="ch05-makedev">
|
|
||||||
<title>Installing Makedev</title>
|
|
||||||
|
|
||||||
&c5-makedev-inst;
|
|
||||||
&c5-makedev-exp;
|
|
||||||
&aa-makedev-desc;
|
|
||||||
|
|
||||||
</sect1>
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user