aboutsummaryrefslogtreecommitdiffstats
path: root/chapter05
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2001-02-14 01:34:40 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2001-02-14 01:34:40 +0000
commit52313679f6cac17d2c5819202a1cd3fb41cc888c (patch)
tree151fd3342aebfc7625415b6e93d99f30d8d03d6c /chapter05
parent9b94a9dd16664bd038c37ea2f63b609f03e94394 (diff)
Added makedev explanation
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@149 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter05')
-rw-r--r--chapter05/makedev-exp.sgml18
-rw-r--r--chapter05/makedev.sgml1
2 files changed, 19 insertions, 0 deletions
diff --git a/chapter05/makedev-exp.sgml b/chapter05/makedev-exp.sgml
new file mode 100644
index 000000000..f3d4ff980
--- /dev/null
+++ b/chapter05/makedev-exp.sgml
@@ -0,0 +1,18 @@
+<sect2>
+<title>Command explanations</title>
+
+<para>
+<userinput>sed "s/# 9/9/" MAKEDEV &gt;/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>
+
diff --git a/chapter05/makedev.sgml b/chapter05/makedev.sgml
index c567fe4c9..d16a99624 100644
--- a/chapter05/makedev.sgml
+++ b/chapter05/makedev.sgml
@@ -2,6 +2,7 @@
<title>Installing Makedev</title>
&c5-pp-makedev-inst;
+&c5-pp-makedev-exp;
&aa-makedev-desc;
</sect1>