diff options
Diffstat (limited to 'chapter07/mountfs.xml')
-rw-r--r-- | chapter07/mountfs.xml | 18 |
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 > mountfs << "EOF"</userinput> +<para>Create the <filename>/etc/init.d/mountfs</filename> script by running +the following command:</para> + +<para><screen><userinput>cat > mountfs << "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 > /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> |