[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
|
---|
[c61dd1e] | 6 | principle reason being to install an LFS system. A question many people raise
|
---|
[cbf7965] | 7 | is "Why go through all the hassle of manually building a Linux system
|
---|
[c61dd1e] | 8 | from scratch when you can just download and install an existing one?". That
|
---|
[cbf7965] | 9 | is a good question.</para>
|
---|
| 10 |
|
---|
[a22f6e7] | 11 | <para>One important reason for LFS' existence is to help people
|
---|
[c61dd1e] | 12 | learn how a Linux system works from the inside out. Building an LFS system
|
---|
[cbf7965] | 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
|
---|
[a22f6e7] | 24 | system. When installing a regular distribution, you end up with several
|
---|
| 25 | programs which you are likely to never use. They're just sitting there wasting
|
---|
| 26 | (precious) disk space. It isn't difficult to build an LFS system less than
|
---|
[cbf7965] | 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
|
---|
[26e62aa] | 34 | fast-food restaurant - you have no idea what you are eating. LFS, on the
|
---|
[c61dd1e] | 35 | other hand, doesn't give you a hamburger, but the recipe to make a hamburger.
|
---|
[a22f6e7] | 36 | This allows you to review it, to omit unwanted ingredients, and to
|
---|
| 37 | add your own ingredients which enhance the flavor of your burger. When you
|
---|
[cbf7965] | 38 | are satisfied with the recipe, you go on to preparing it. You make it just
|
---|
[91b45ad] | 39 | the way you like it: broil it, bake it, deep-fry it, barbecue it, or eat it
|
---|
[c61dd1e] | 40 | tar-tar (raw).</para>
|
---|
[22a2710c] | 41 |
|
---|
[f2a2eac] | 42 | <para>Another analogy that we can use is that of comparing LFS with a
|
---|
[c61dd1e] | 43 | finished house. LFS will give you the skeletal plan of a house, but it's up
|
---|
[a22f6e7] | 44 | to you to build it. You have the freedom to adjust your plans as you
|
---|
| 45 | go.</para>
|
---|
[22a2710c] | 46 |
|
---|
[c61dd1e] | 47 | <para>Another advantage of a custom built Linux system is security.
|
---|
[cbf7965] | 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
|
---|
[a22f6e7] | 51 | hole. Unless you examine the patch and build it yourself you have no
|
---|
| 52 | guarantee that the new package was built correctly and actually fixes the
|
---|
| 53 | problem (adequately). You never truly know whether a security hole is fixed
|
---|
| 54 | or not unless you do it yourself.</para>
|
---|
[6370fa6] | 55 |
|
---|
| 56 | </sect1>
|
---|
| 57 |
|
---|