P. 1
lfs_book

lfs_book

|Views: 10|Likes:
Publicado pordexter_001

More info:

Published by: dexter_001 on Jun 22, 2009
Direitos Autorais:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PDF, TXT or read online from Scribd
See more
See less

05/11/2014

pdf

text

original

Throughout this book, the environment variable LFS will be used several times. It is paramount that this variable
is always defined. It should be set to the mount point chosen for the LFS partition. Check that the LFS variable is
set up properly with:

echo $LFS

Make sure the output shows the path to the LFS partition's mount point, which is / mnt/ lfs if the provided example
was followed. If the output is incorrect, the variable can be set with:

export LFS=/mnt/lfs

Having this variable set is beneficial in that commands such as mkdir $LFS/tools can be typed literally. The shell will
automatically replace “$LFS” with “/mnt/lfs” (or whatever the variable was set to) when it processes the command
line.

Do not forget to check that $LFS is set whenever you leave and reenter the current working environment (as when
doing a su to root or another user).

You're Reading a Free Preview

Descarregar
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->