aboutsummaryrefslogtreecommitdiffstats
path: root/chapter07/mountfs.xml
diff options
context:
space:
mode:
authorMark Hymers <markh@linuxfromscratch.org>2001-07-22 19:45:10 +0000
committerMark Hymers <markh@linuxfromscratch.org>2001-07-22 19:45:10 +0000
commitb822811980a5f82726cb641cbeff66be9eb6d92a (patch)
tree27c4db3c62aaea065b053e43c39b2ba44c04a05f /chapter07/mountfs.xml
parent46f5461af92bc70c62bbb92895032b930954d835 (diff)
XML changes
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@827 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter07/mountfs.xml')
-rw-r--r--chapter07/mountfs.xml18
1 files changed, 6 insertions, 12 deletions
diff --git a/chapter07/mountfs.xml b/chapter07/mountfs.xml
index b6432e022..1ffa16306 100644
--- a/chapter07/mountfs.xml
+++ b/chapter07/mountfs.xml
@@ -1,14 +1,10 @@
<sect1 id="ch07-mountfs">
<title>Creating the mountfs script</title>
-<para>
-Create the <filename>/etc/init.d/mountfs</filename> script by running
-the following command:
-</para>
-
-<para>
-<screen>
-<userinput>cat &gt; mountfs &lt;&lt; "EOF"</userinput>
+<para>Create the <filename>/etc/init.d/mountfs</filename> script by running
+the following command:</para>
+
+<para><screen><userinput>cat &gt; mountfs &lt;&lt; "EOF"</userinput>
#!/bin/sh
# Begin /etc/init.d/mountfs
@@ -43,7 +39,7 @@ case "$1" in
# file which contains a list of currently mounted file systems.
#
- echo > /etc/mtab
+ echo &gt; /etc/mtab
/bin/mount -f -o remount,rw /
#
@@ -102,9 +98,7 @@ case "$1" in
esac
# End /etc/init.d/mountfs
-<userinput>EOF</userinput>
-</screen>
-</para>
+<userinput>EOF</userinput></screen></para>
</sect1>