diff options
Diffstat (limited to 'chapter02/mounting.xml')
-rw-r--r-- | chapter02/mounting.xml | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/chapter02/mounting.xml b/chapter02/mounting.xml index 610ccf652..87331dcfb 100644 --- a/chapter02/mounting.xml +++ b/chapter02/mounting.xml @@ -10,7 +10,7 @@ <para>Now that we've created a file system, we want to be able to access the partition. For that, we need to mount it, and have to choose a mount point. In this book we assume that the file system is mounted under -<filename>/mnt/lfs</filename>, but it doesn't matter what directory +<filename class="directory">/mnt/lfs</filename>, but it doesn't matter what directory you choose.</para> <para>Choose a mount point and assign it to the LFS environment variable @@ -21,22 +21,22 @@ by running:</para> <para>Now create the mount point and mount the LFS file system by running:</para> <screen><userinput>mkdir -p $LFS -mount /dev/xxx $LFS</userinput></screen> +mount /dev/<replaceable>[xxx]</replaceable> $LFS</userinput></screen> -<para>Replace <filename>xxx</filename> with the designation of the LFS +<para>Replace <replaceable>[xxx]</replaceable> with the designation of the LFS partition.</para> <para>If you have decided to use multiple partitions for LFS (say one for -<filename>/</filename> and another for <filename>/usr</filename>), mount -them like this:</para> +<filename class="directory">/</filename> and another for +<filename class="directory">/usr</filename>), mount them like this:</para> <screen><userinput>mkdir -p $LFS -mount /dev/xxx $LFS +mount /dev/<replaceable>[xxx]</replaceable> $LFS mkdir $LFS/usr -mount /dev/yyy $LFS/usr</userinput></screen> +mount /dev/<replaceable>[yyy]</replaceable> $LFS/usr</userinput></screen> -<para>Of course, replace <filename>xxx</filename> and <filename>yyy</filename> -with the appropriate partition names.</para> +<para>Of course, replace <replaceable>[xxx]</replaceable> and +<replaceable>[yyy]</replaceable> with the appropriate partition names.</para> <para>You should also ensure that this new partition is not mounted with permissions that are too restrictive (such as the nosuid, nodev or noatime |