Changeset c07fa0e for BOOK/partitioning/common
- Timestamp:
- May 28, 2014, 1:54:01 AM (10 years ago)
- Branches:
- clfs-3.0.0-sysvinit, sysvinit
- Children:
- cedee4d
- Parents:
- bbf3c21
- git-author:
- Chris Staub <chris@…> (05/28/14 01:53:41)
- git-committer:
- Chris Staub <chris@…> (05/28/14 01:54:01)
- Location:
- BOOK/partitioning/common
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/partitioning/common/aboutclfs.xml
rbbf3c21 rc07fa0e 14 14 be used several times. It is paramount that this variable is always defined. 15 15 It should be set to the mount point chosen for the CLFS partition. 16 Check that the <envar>CLFS</envar> variable is set up properly with:</para> 16 For the purposes of this book, it is assumed that the file system 17 will be mounted under <filename class="directory">/mnt/clfs</filename>, 18 but the directory choice is up to you. Decide on a directory location and set 19 the variable with the following command:</para> 17 20 18 <screen><userinput>echo ${CLFS}</userinput></screen> 19 20 <para>Make sure the output shows the path to the CLFS partition's mount 21 point, which is <filename class="directory">/mnt/clfs</filename> if the 22 provided example was followed. If the output is incorrect, the 23 variable can be set with:</para> 24 25 <screen><userinput>export CLFS=/mnt/clfs</userinput></screen> 21 <screen><userinput>export CLFS=<replaceable>[/mnt/clfs]</replaceable></userinput></screen> 26 22 27 23 <para>Having this variable set is beneficial in that commands such as … … 31 27 processes the command line.</para> 32 28 33 <para>If you haven't created the <filename class="directory">${CLFS}</filename>34 directory, do so at this time by issuing the following commands:</para>35 36 <screen><userinput>install -dv ${CLFS}</userinput></screen>37 38 29 <para>Do not forget to check that <envar>${CLFS}</envar> is set whenever 39 30 you leave and reenter the current working environment (as when doing a 40 31 <quote>su</quote> to <systemitem class="username">root</systemitem> or 41 another user).</para> 32 another user). Check that the <envar>CLFS</envar> variable is set up 33 properly with:</para> 34 35 <screen><userinput>echo ${CLFS}</userinput></screen> 36 37 <para>Make sure the output shows the path to the CLFS partition's mount 38 point, which is <filename class="directory">/mnt/clfs</filename> if the 39 provided example was followed. If the output is incorrect, use the command 40 given earlier on this page to set <envar>${CLFS}</envar> to the correct 41 directory name.</para> 42 42 43 43 </sect1> -
BOOK/partitioning/common/mounting.xml
rbbf3c21 rc07fa0e 13 13 <para>Now that a file system has been created, the partition needs to 14 14 be made accessible. In order to do this, the partition needs to be 15 mounted at a chosen mount point. For the purposes of this book, it is 16 assumed that the file system is mounted under <filename 17 class="directory">/mnt/clfs</filename>, but the directory choice is up 18 to you.</para> 15 mounted at a chosen mount point.</para> 19 16 20 <para> Choose a mount point and assign it to the <envar>CLFS</envar>21 environment variable by running:</para>17 <para>If you haven't already, choose a mount point and assign it to the 18 <envar>CLFS</envar> environment variable by running:</para> 22 19 23 <screen><userinput>export CLFS= /mnt/clfs</userinput></screen>20 <screen><userinput>export CLFS=<replaceable>[/mnt/clfs]</replaceable></userinput></screen> 24 21 25 22 <para>Next, create the mount point and mount the CLFS file system by
Note:
See TracChangeset
for help on using the changeset viewer.