| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 | <?xml version="1.0" encoding="ISO-8859-1"?><!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [  <!ENTITY % general-entities SYSTEM "../general.ent">  %general-entities;]><sect1 id="pre-audience"><title>Audience</title><?dbhtml filename="audience.html"?><para>There are many reasons why somebody would want to read thisbook. The principle reason is to install a Linux system straightfrom the source code. A question many people raise is, <quote>why gothrough all the hassle of manually building a Linux system fromscratch when you can just download and install an existingone?</quote> That is a good question and is the impetus for thissection of the book.</para><para>One important reason for LFS's existence is to help people learnhow a Linux system works from the inside out. Building an LFS systemhelps demonstrate what makes Linux tick, and how things work togetherand depend on each other. One of the best things that this learningexperience provides is the ability to customize Linux to your owntastes and needs.</para><para>A key benefit of LFS is that it allows users to have morecontrol over the system without relying on someone else's Linuximplementation.  With LFS, <emphasis>you</emphasis> are in thedriver's seat and dictate every aspect of the system, such as thedirectory layout and bootscript setup. You also dictate where, why,and how programs are installed.</para><para>Another benefit of LFS is the ability to create a very compactLinux system. When installing a regular distribution, one is oftenforced to install several programs which are probably never used.These programs waste precious disk space, or worse, CPU cycles. It isnot difficult to build an LFS system of less than 100 megabytes (MB),which is substantially smaller compared to most existing setups.  Doesthis still sound like a lot of space? A few of us have been working oncreating a very small embedded LFS system. We successfully built asystem that was specialized to run the Apache web server withapproximately 8MB of disk space used. Further stripping could bringthis down to 5 MB or less.  Try that with a regular distribution!This is only one of the many benefits of designing your own Linuximplementation.</para><para>We could compare Linux distributions to a hamburger purchased ata fast-food restaurant—you have no idea what might be in whatyou are eating. LFS, on the other hand, does not give you a hamburger.Rather, LFS provides the recipe to make the exact hamburger desired.This allows users to review the recipe, omit unwanted ingredients, andadd your own ingredients to enhance the flavor of the burger.When you are satisfied with the recipe, move on to preparing it. Itcan be made to exact specifications—broil it, bake it, deep-fryit, or barbecue it.</para><para>Another analogy that we can use is that of comparing LFS with afinished house. LFS provides the skeletal plan of a house, but it is upto you to build it. LFS maintains the freedom to adjust plansthroughout the process, customizing it to the user's needs andpreferences.</para><para>An additional advantage of a custom built Linux system issecurity. By compiling the entire system from source code, you areempowered to audit everything and apply all the security patchesdesired. It is no longer necessary to wait for somebody else tocompile binary packages that fix a security hole. Unless youexamine the patch and implement it yourself, you have no guaranteethat the new binary package was built correctly and adequately fixesthe problem.</para><para>The goal of Linux From Scratch is to build a complete and usablefoundation-level system. Readers who do not wish to build their ownLinux system from scratch may not benefit from the information in thisbook. If you only want to know what happens while the computer boots,we recommend the <quote>From Power Up To Bash Prompt</quote> HOWTOlocated at <ulink url="http://axiom.anu.edu.au/~okeefe/p2b/"/> or onThe Linux Documentation Project's (TLDP) website at <ulinkurl="http://www.tldp.org/HOWTO/From-PowerUp-To-Bash-Prompt-HOWTO.html"/>.The HOWTO builds a system which is similar to that of this book,but it focuses strictly on creating a system capable of booting to aBASH prompt. Consider your objective. If you wish to build a Linuxsystem while learning along the way, then this book is your bestchoice.</para> <para>There are too many good reasons to build your own LFS system tolist them all here. This section is only the tip of the iceberg. Asyou continue in your LFS experience, you will find the power thatinformation and knowledge truly bring.</para></sect1>
 |