[6370fa6] | 1 | <sect1 id="pre-whoread">
|
---|
| 2 | <title>Who would want to read this book</title>
|
---|
| 3 |
|
---|
[f2a2eac] | 4 | <para>There are a lot of reasons why somebody would want to read this
|
---|
| 5 | book in order to install an LFS system. The question most people raise
|
---|
| 6 | is "why go through all the hassle of manually installing a Linux system
|
---|
| 7 | from scratch when you can just download an existing version like Debian
|
---|
| 8 | or Redhat". That is a valid question which I hope to answer for
|
---|
| 9 | you.</para>
|
---|
| 10 |
|
---|
| 11 | <para>The most important reason for LFS's existence is teaching people
|
---|
| 12 | how a Linux system works internally. Building an LFS system teaches you
|
---|
| 13 | about all that makes Linux tick, how things work together, and depend on
|
---|
| 14 | each other. And most importantly, how to customize it to your own taste
|
---|
| 15 | and needs.</para>
|
---|
| 16 |
|
---|
| 17 | <para>One of the key benefits of LFS is that you are in control over
|
---|
| 18 | your system without having to rely on somebody else's Linux
|
---|
| 19 | implementation like Debian. You are in the driver's seat now and are
|
---|
| 20 | able to dictate every single thing such as the directory layout and boot
|
---|
| 21 | script setup. You will also know exactly where, why and how programs
|
---|
| 22 | are installed.</para>
|
---|
| 23 |
|
---|
| 24 | <para>Another benefit of LFS is that you can create a very compact Linux
|
---|
[22a2710c] | 25 | system. When you install a distribution like Debian or RedHat, you end
|
---|
| 26 | up installing a lot of programs you would never in your life use.
|
---|
| 27 | They're just sitting there taking up (precious) disk space. It's not
|
---|
| 28 | hard to get an LFS system installed under 100 MB. Does that still sound
|
---|
| 29 | like a lot? A few of us have been working on creating a very small
|
---|
| 30 | embedded LFS system. We installed a system that was just enough to run
|
---|
| 31 | the Apache web server; total disk space usage was aproximately 8 MB.
|
---|
| 32 | With further stripping, that can be brought down to 5 MB or less. Try
|
---|
[f2a2eac] | 33 | that with a generic Debian or Redhat distribution.</para>
|
---|
| 34 |
|
---|
| 35 | <para>If we were to compare a Linux distribution with a hamburger you
|
---|
| 36 | buy at a supermarket or fast-food restaurant, you would end up eating it
|
---|
| 37 | without knowing precisely what it is you are eating, whereas LFS gives
|
---|
| 38 | you the ingredients to make a hamburger. This allows you to carefully
|
---|
| 39 | inspect it, remove unwanted ingredients, and at the same time allow you
|
---|
| 40 | to add ingredients to enhance the flavour of your hamburger. When you are
|
---|
[22a2710c] | 41 | satisfied with the ingredients, you go on to the next part of putting it
|
---|
| 42 | together. You now have the chance to make it just the way you like it:
|
---|
[f2a2eac] | 43 | broil it, bake it, deep-fry it, barbeque it, or eat it raw.</para>
|
---|
[22a2710c] | 44 |
|
---|
[f2a2eac] | 45 | <para>Another analogy that we can use is that of comparing LFS with a
|
---|
| 46 | finished house. LFS will give you the skeleton of a house, but it's up
|
---|
| 47 | to you to install plumbing, electrical outlets, kitchen, bathtub,
|
---|
| 48 | wallpaper, etc.</para>
|
---|
[22a2710c] | 49 |
|
---|
[f2a2eac] | 50 | <para>Another advantage of a custom built Linux system is added security.
|
---|
| 51 | You will compile the entire system from source, thus allowing you to audit
|
---|
[22a2710c] | 52 | everything, if you wish to do so, and apply all the security patches you
|
---|
| 53 | want or need to apply. You don't have to wait for somebody else to
|
---|
| 54 | provide a new binary package that fixes a security hole. Besides, you
|
---|
| 55 | have no guarantee that the new package actually fixes the problem
|
---|
| 56 | (adequately). You never truly know whether a security hole is fixed or
|
---|
[f2a2eac] | 57 | not unless you do it yourself.</para>
|
---|
[6370fa6] | 58 |
|
---|
| 59 | </sect1>
|
---|
| 60 |
|
---|