[6370fa6] | 1 | <sect1 id="pre-whoread">
|
---|
| 2 | <title>Who would want to read this book</title>
|
---|
[4089c23] | 3 | <?dbhtml filename="whoread.html" dir="preface"?>
|
---|
[6370fa6] | 4 |
|
---|
[cbf7965] | 5 | <para>There are many reasons why somebody would want to read this book. The
|
---|
| 6 | principle reason being to install a LFS system. A question many people raise
|
---|
| 7 | is "Why go through all the hassle of manually building a Linux system
|
---|
| 8 | from scratch when you can just download and install an existing one?". That
|
---|
| 9 | is a good question.</para>
|
---|
| 10 |
|
---|
| 11 | <para>One important reason for LFS's existence is helping people
|
---|
| 12 | learn how a Linux system works from the inside out. Building a LFS system
|
---|
| 13 | helps demonstrate what makes Linux tick, and how things work together and
|
---|
| 14 | depend on each other. And perhaps most importantly, how to customize it to
|
---|
| 15 | your own tastes and needs.</para>
|
---|
| 16 |
|
---|
| 17 | <para>A key benefit of LFS is that you have more control of your system
|
---|
| 18 | without relying on someone else's Linux implementation. With LFS, you are
|
---|
| 19 | in the driver's seat and dictate every aspect of your system, such as the
|
---|
| 20 | directory layout and boot script setup. You also dictate where, why and how
|
---|
| 21 | programs are installed.</para>
|
---|
| 22 |
|
---|
| 23 | <para>Another benefit of LFS is the ability to create a very compact Linux
|
---|
| 24 | system. When installing a regular distribution, you end up with a lot of
|
---|
| 25 | programs you likely will never use. They're just sitting there wasting
|
---|
| 26 | (precious) disk space. It isn't difficult to build LFS systems of under
|
---|
| 27 | 100 MB. Does that still sound like a lot? A few of us have been working on
|
---|
| 28 | creating a very small embedded LFS system. We successfully built a system
|
---|
| 29 | that was just enough to run the Apache web server with approximately 8MB
|
---|
| 30 | of disk space used. Further stripping could bring that down to 5 MB or
|
---|
| 31 | less. Try that with a regular distribution.</para>
|
---|
| 32 |
|
---|
| 33 | <para>We could compare distributed Linux to a hamburger you buy at a
|
---|
| 34 | fast-food restaurant. You have no idea what you are easting. LFS on the
|
---|
| 35 | other hand, doesn't give you a hamburger, but the recipe to make a hamburger.
|
---|
| 36 | This allows you to inspect it, omit unwanted ingredients, and allows you to
|
---|
| 37 | add your own ingredients that enhance the flavour of your burger. When you
|
---|
| 38 | are satisfied with the recipe, you go on to preparing it. You make it just
|
---|
| 39 | the way you like it: broil it, bake it, deep-fry it, barbeque it, or eat it
|
---|
| 40 | raw.</para>
|
---|
[22a2710c] | 41 |
|
---|
[f2a2eac] | 42 | <para>Another analogy that we can use is that of comparing LFS with a
|
---|
| 43 | finished house. LFS will give you the skeleton of a house, but it's up
|
---|
| 44 | to you to install plumbing, electrical outlets, kitchen, bathtub,
|
---|
| 45 | wallpaper, etc.</para>
|
---|
[22a2710c] | 46 |
|
---|
[cbf7965] | 47 | <para>Another advantage of a custom built Linux system is security.
|
---|
| 48 | By compiling the entire system from source code, you are empowered to audit
|
---|
| 49 | everything and apply all the security patches you feel are needed. You don't
|
---|
| 50 | have to wait for somebody else to compile binary packages that fix a security
|
---|
| 51 | hole. Examine the new patch and build it yourself. You have no guarantee
|
---|
| 52 | that the new package was built correctly and actually fixes the problem
|
---|
[22a2710c] | 53 | (adequately). You never truly know whether a security hole is fixed or
|
---|
[f2a2eac] | 54 | not unless you do it yourself.</para>
|
---|
[6370fa6] | 55 |
|
---|
| 56 | </sect1>
|
---|
| 57 |
|
---|