aboutsummaryrefslogtreecommitdiffstats
path: root/chapter02/mounting.xml
diff options
context:
space:
mode:
authorManuel Canales Esparcia <manuel@linuxfromscratch.org>2006-01-11 20:21:38 +0000
committerManuel Canales Esparcia <manuel@linuxfromscratch.org>2006-01-11 20:21:38 +0000
commit87bae3144cc4ce8c61e68426d09d060b2c92cfb2 (patch)
treecad08740b446d1abd55605e1141fe86244a96b76 /chapter02/mounting.xml
parent35edd526b5f7a6e5cf351f2cbe161ff85dbb3910 (diff)
Indented chapter 02.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7271 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter02/mounting.xml')
-rw-r--r--chapter02/mounting.xml63
1 files changed, 33 insertions, 30 deletions
diff --git a/chapter02/mounting.xml b/chapter02/mounting.xml
index 37654087a..67f786203 100644
--- a/chapter02/mounting.xml
+++ b/chapter02/mounting.xml
@@ -1,56 +1,59 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
-<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+ "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../general.ent">
%general-entities;
]>
+
<sect1 id="space-mounting">
-<title>Mounting the New Partition</title>
-<?dbhtml filename="mounting.html"?>
+ <?dbhtml filename="mounting.html"?>
+
+ <title>Mounting the New Partition</title>
-<para>Now that a file system has been created, the partition needs to
-be made accessible. In order to do this, the partition needs to be
-mounted at a chosen mount point. For the purposes of this book, it is
-assumed that the file system is mounted under <filename
-class="directory">/mnt/lfs</filename>, but the directory choice is up
-to you.</para>
+ <para>Now that a file system has been created, the partition needs to
+ be made accessible. In order to do this, the partition needs to be
+ mounted at a chosen mount point. For the purposes of this book, it is
+ assumed that the file system is mounted under <filename
+ class="directory">/mnt/lfs</filename>, but the directory choice is up
+ to you.</para>
-<para>Choose a mount point and assign it to the <envar>LFS</envar>
-environment variable by running:</para>
+ <para>Choose a mount point and assign it to the <envar>LFS</envar>
+ environment variable by running:</para>
<screen role="nodump"><userinput>export LFS=/mnt/lfs</userinput></screen>
-<para>Next, create the mount point and mount the LFS file system by
-running:</para>
+ <para>Next, create the mount point and mount the LFS file system by
+ running:</para>
<screen role="nodump"><userinput>mkdir -pv $LFS
mount -v /dev/<replaceable>[xxx]</replaceable> $LFS</userinput></screen>
-<para>Replace <replaceable>[xxx]</replaceable> with the designation of the LFS
-partition.</para>
+ <para>Replace <replaceable>[xxx]</replaceable> with the designation of the LFS
+ partition.</para>
-<para>If using multiple partitions for LFS (e.g., one for <filename
-class="directory">/</filename> and another for <filename
-class="directory">/usr</filename>), mount them using:</para>
+ <para>If using multiple partitions for LFS (e.g., one for <filename
+ class="directory">/</filename> and another for <filename
+ class="directory">/usr</filename>), mount them using:</para>
<screen role="nodump"><userinput>mkdir -pv $LFS
mount -v /dev/<replaceable>[xxx]</replaceable> $LFS
mkdir -v $LFS/usr
mount -v /dev/<replaceable>[yyy]</replaceable> $LFS/usr</userinput></screen>
-<para>Replace <replaceable>[xxx]</replaceable> and
-<replaceable>[yyy]</replaceable> with the appropriate partition
-names.</para>
+ <para>Replace <replaceable>[xxx]</replaceable> and
+ <replaceable>[yyy]</replaceable> with the appropriate partition
+ names.</para>
-<para>Ensure that this new partition is not mounted with permissions
-that are too restrictive (such as the nosuid, nodev, or noatime
-options). Run the <command>mount</command> command without any
-parameters to see what options are set for the mounted LFS
-partition. If <parameter>nosuid</parameter>, <parameter>nodev</parameter>,
-and/or <parameter>noatime</parameter> are set, the partition will need
-to be remounted.</para>
+ <para>Ensure that this new partition is not mounted with permissions that
+ are too restrictive (such as the <option>nosuid</option>, <option>nodev</option>,
+ or <option>noatime</option> options). Run the <command>mount</command> command
+ without any parameters to see what options are set for the mounted LFS
+ partition. If <option>nosuid</option>, <option>nodev</option>, and/or
+ <option>noatime</option> are set, the partition will need to be
+ remounted.</para>
-<para>Now that there is an established place to work, it is time to
-download the packages.</para>
+ <para>Now that there is an established place to work, it is time to
+ download the packages.</para>
</sect1>