aboutsummaryrefslogtreecommitdiffstats
path: root/chapter02/aboutlfs.sgml
diff options
context:
space:
mode:
authorGerard Beekmans <gerard@linuxfromscratch.org>2001-02-15 15:26:52 +0000
committerGerard Beekmans <gerard@linuxfromscratch.org>2001-02-15 15:26:52 +0000
commitb08f4096533577934b885fa9df41d3881d141612 (patch)
tree8e5ffc0ba65ac34d97cd6a896d33b85a897a6da8 /chapter02/aboutlfs.sgml
parentad08014624938a3a3bfd1b44e8b27d02c7b06dd8 (diff)
Initial XML commit
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@174 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter02/aboutlfs.sgml')
-rw-r--r--chapter02/aboutlfs.sgml51
1 files changed, 0 insertions, 51 deletions
diff --git a/chapter02/aboutlfs.sgml b/chapter02/aboutlfs.sgml
deleted file mode 100644
index 44675577c..000000000
--- a/chapter02/aboutlfs.sgml
+++ /dev/null
@@ -1,51 +0,0 @@
-<sect1 id="ch02-aboutlfs">
-<title>About $LFS</title>
-
-<para>
-Please read the following carefully: throughout this book you will
-frequently see the variable name $LFS. $LFS must at all times be
-replaced by the directory where the partition that contains the LFS system
-is mounted. How to create and where to mount the partition will be
-explaind in full detail later on in chapter 4. In my case the LFS
-partition is mounted on /mnt/lfs. If I read this book myself and I see
-$LFS somewhere, I will pretend that I read /mnt/lfs. If I read that
-I have to run this command: cp inittab $LFS/etc I actually will run this:
-cp inittab /mnt/lfs/etc
-</para>
-
-<para>
-It's important that you do this no matter where you read it; be it in
-commands you enter on the prompt, or in a file you edit or create.
-</para>
-
-<para>
-If you want, you can set the environment variable LFS. This way you can
-literally enter $LFS instead of replacing it by something like
-/mnt/lfs. This is accomplished by running: export LFS=/mnt/lfs
-</para>
-
-<para>
-If I read cp inittab $LFS/etc, I literally can type cp inittab $LFS/etc
-and the shell will replace this command by cp inittab /mnt/lfs/etc
-automatically.
-</para>
-
-<para>
-Do not forget to set the $LFS variable at all times. If you haven't set
-the variable and you use it in a command, $LFS will be ignored and whatever
-is left will be executed. The command cp inittab $LFS/etc without the $LFS
-variable set, will result in copying the inittab file to the /etc
-directory which will overwrite your system's inittab. A file like inittab
-isn't that big a problem as it can easily be restored, but if you would
-make this mistake during the installation of the C Library, you can
-damage things.
-</para>
-
-<para>
-One way to make sure that $LFS is set at all times you could add it to
-your /root/.bash_profile and/or /root/.bashrc file(s) so everytime you
-'su' to user too as to install LFS, the $LFS variable is set for you.
-</para>
-
-</sect1>
-