source: chapter04/aboutlfs.xml@ 9c9d585

Last change on this file since 9c9d585 was 966c6512, checked in by Matthew Burgess <matthew@…>, 20 years ago
  • (chapter04/*.xml) RELAX NG validation fixes

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/LFS-RNG/BOOK@4350 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 1.4 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE section [
3 <!ENTITY % general-entities SYSTEM "../general.ent">
4 %general-entities;
5]>
6<section xmlns="http://docbook.org/docbook-ng"
7 xml:id="prepare-aboutlfs">
8<info><title>About $LFS</title></info>
9<?dbhtml filename="aboutlfs.html"?>
10
11<para>Throughout this book the environment variable LFS will be used several
12times. It is paramount that this variable is always defined. It should be set
13to the mount point you chose for your LFS partition. Check that your LFS
14variable is set up properly with:</para>
15
16<screen><userinput>echo $LFS</userinput></screen>
17
18<para>Make sure the output shows the path to your LFS partition's mount
19point, which is <filename class="directory">/mnt/lfs</filename> if you
20followed our example. If the output is wrong, you can always set the variable
21with:</para>
22
23<screen><userinput>export LFS=/mnt/lfs</userinput></screen>
24
25<para>Having this variable set means that if you are told to run a command like
26<command>mkdir $LFS/tools</command>, you can type it literally. Your shell
27will replace <quote>$LFS</quote> with <quote>/mnt/lfs</quote> (or whatever
28you set the variable to) when it processes the command line.</para>
29
30<para>Don't forget to check that <quote>$LFS</quote> is set whenever you leave and
31reenter the environment (as when doing a <quote>su</quote> to root or another user).
32</para>
33
34</section>
Note: See TracBrowser for help on using the repository browser.