Changeset 57413c8 for BOOK/partitioning
- Timestamp:
- Jun 2, 2014, 3:59:48 AM (10 years ago)
- Branches:
- clfs-3.0.0-sysvinit, sysvinit
- Children:
- 2546e2d
- Parents:
- 669beac
- git-author:
- Chris Staub <chris@…> (06/02/14 03:52:11)
- git-committer:
- Chris Staub <chris@…> (06/02/14 03:59:48)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOOK/partitioning/common/aboutclfs.xml
r669beac r57413c8 12 12 13 13 <para>Throughout this book, the environment variable <envar>CLFS</envar> will 14 be used several times. It is paramount that this variable is always defined. 15 It should be set to the mount point chosen for the CLFS partition. 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> 14 be used several times. You should ensure that this variable is always defined 15 throughout the CLFS build process. It should be set to the name of the 16 directory where you will be building your CLFS system - we will use 17 <filename class="directory">/mnt/clfs</filename> as an example, but the 18 directory choice is up to you. If you are building CLFS on a separate 19 partition, this directory will be the mount point for the partition. 20 Choose a directory location and set the variable with the 21 following command:</para> 20 22 21 23 <screen><userinput>export CLFS=<replaceable>[/mnt/clfs]</replaceable></userinput></screen> … … 28 30 29 31 <para>Do not forget to check that <envar>${CLFS}</envar> is set whenever 30 you leave and reenter the current working environment ( as when doing a31 < quote>su</quote> to <systemitem class="username">root</systemitem> or32 you leave and reenter the current working environment (such as when doing a 33 <command>su</command> to <systemitem class="username">root</systemitem> or 32 34 another user). Check that the <envar>CLFS</envar> variable is set up 33 35 properly with:</para> … … 35 37 <screen><userinput>echo ${CLFS}</userinput></screen> 36 38 37 <para>Make sure the output shows the path to the CLFS partition's mount38 point, which is <filename class="directory">/mnt/clfs</filename> if the39 <para>Make sure the output shows the path to your CLFS system's build 40 location, which is <filename class="directory">/mnt/clfs</filename> if the 39 41 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 correct42 given earlier on this page to set <envar>${CLFS}</envar> to the correct 41 43 directory name.</para> 42 44
Note:
See TracChangeset
for help on using the changeset viewer.