Changeset 9a207c4 for chapter02/mounting.xml
- Timestamp:
- 08/08/2004 02:10:00 AM (20 years ago)
- Branches:
- 6.0
- Children:
- 843710f
- Parents:
- 6e35438
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter02/mounting.xml
r6e35438 r9a207c4 5 5 ]> 6 6 <sect1 id="space-mounting"> 7 <title>Mounting the new partition</title>7 <title>Mounting the New Partition</title> 8 8 <?dbhtml filename="mounting.html"?> 9 9 10 <para>Now that we've created a file system, we want to be able to access 11 the partition. For that, we need to mount it, and have to choose a mount 12 point. In this book we assume that the file system is mounted under 13 <filename class="directory">/mnt/lfs</filename>, but it doesn't matter what directory 14 you choose.</para> 10 <para>Now that a file system has been created, the partition needs to 11 be made accessible. In order to do this, the partition needs to be 12 mounted at a chosen mount point. For the purposes of this book, it is 13 assumed that the file system is mounted under <filename 14 class="directory">/mnt/lfs</filename>, but the directory choice is up 15 to you.</para> 15 16 16 <para>Choose a mount point and assign it to the LFS environment variable17 by running:</para>17 <para>Choose a mount point and assign it to the LFS environment 18 variable by running:</para> 18 19 19 20 <screen><userinput>export LFS=/mnt/lfs</userinput></screen> 20 21 21 <para>Now create the mount point and mount the LFS file system by running:</para> 22 <para>Next, create the mount point and mount the LFS file system by 23 running:</para> 22 24 23 25 <screen><userinput>mkdir -p $LFS … … 27 29 partition.</para> 28 30 29 <para>If you have decided to use multiple partitions for LFS (say one for30 <filename class="directory">/</filename> and another for 31 <filename class="directory">/usr</filename>), mount them like this:</para>31 <para>If using multiple partitions for LFS (e.g., one for <filename 32 class="directory">/</filename> and another for <filename 33 class="directory">/usr</filename>), mount them using:</para> 32 34 33 35 <screen><userinput>mkdir -p $LFS … … 36 38 mount /dev/<replaceable>[yyy]</replaceable> $LFS/usr</userinput></screen> 37 39 38 <para>Of course, replace <replaceable>[xxx]</replaceable> and 39 <replaceable>[yyy]</replaceable> with the appropriate partition names.</para> 40 <para>Replace <replaceable>[xxx]</replaceable> and 41 <replaceable>[yyy]</replaceable> with the appropriate partition 42 names.</para> 40 43 41 <para>You should also ensure that this new partition is not mounted with 42 permissions that are too restrictive (such as the nosuid, nodev or noatime 43 options). You can run the <command>mount</command> command without any 44 parameters to see with what options the LFS partition is mounted. If 45 you see nosuid, nodev or noatime, you will need to remount it.</para> 46 47 <para>Now that we've made ourselves a place to work in, we're ready to download 48 the packages.</para> 44 <para>Ensure that this new partition is not mounted with permissions 45 that are too restrictive (such as the nosuid, nodev, or noatime 46 options). Run the <command>mount</command> command without any 47 parameters to see with what options are set for the mounted LFS 48 partition. If <emphasis>nosuid</emphasis>, <emphasis>nodev</emphasis>, 49 and/or <emphasis>noatime</emphasis> are set, the partition will need 50 to be remounted.</para> 51 52 <para>Now that there is an established place to work, it's time to 53 download the packages.</para> 49 54 50 55 </sect1> 56
Note:
See TracChangeset
for help on using the changeset viewer.