[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 |
|
---|
| 11 | <para>One important reason for LFS's existence is helping 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
|
---|
| 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
|
---|
[c61dd1e] | 35 | other hand, doesn't give you a hamburger, but the recipe to make a hamburger.
|
---|
| 36 | This allows you to review it, omit unwanted ingredients, and allows you to
|
---|
| 37 | add your own ingredients that 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
|
---|
| 39 | the way you like it: broil it, bake it, deep-fry it, barbeque 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
|
---|
| 44 | to you to build it, giving you the freedom to adjust your plans as you go.</para>
|
---|
[22a2710c] | 45 |
|
---|
[c61dd1e] | 46 | <para>Another advantage of a custom built Linux system is security.
|
---|
[cbf7965] | 47 | By compiling the entire system from source code, you are empowered to audit
|
---|
| 48 | everything and apply all the security patches you feel are needed. You don't
|
---|
| 49 | have to wait for somebody else to compile binary packages that fix a security
|
---|
[c61dd1e] | 50 | hole. Examine the new patch and build it yourself. You have no guarantee
|
---|
[cbf7965] | 51 | that the new package was built correctly and actually fixes the problem
|
---|
[22a2710c] | 52 | (adequately). You never truly know whether a security hole is fixed or
|
---|
[f2a2eac] | 53 | not unless you do it yourself.</para>
|
---|
[6370fa6] | 54 |
|
---|
| 55 | </sect1>
|
---|
| 56 |
|
---|