Applied Scot's LFS-BOOK-CVS-2002-05-28-XML.patch patch to foreword.xml and whoread.xml

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1935 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Gerard Beekmans 2002-05-29 11:08:16 +00:00
parent 7c1805bb64
commit cbf7965549
4 changed files with 54 additions and 57 deletions

View File

@ -1,3 +1,3 @@
Ncurses Patch (&ncurses-version;) - &ncurses-patch-size;: Ncurses Patch (&ncurses-version;) - &ncurses-patch-size;:
<ulink url="&ftp;/ncurses-&ncurses-version;.patch.bz2"/> <ulink url="&ftp;/ncurses-&ncurses-patch-version;.patch.bz2"/>
<ulink url="&http;/ncurses-&ncurses-version;.patch.bz2"/> <ulink url="&http;/ncurses-&ncurses-patch-version;.patch.bz2"/>

View File

@ -4,8 +4,8 @@
<!ENTITY book SYSTEM "book/book.xml"> <!ENTITY book SYSTEM "book/book.xml">
<!ENTITY version "20020528"> <!ENTITY version "20020529">
<!ENTITY releasedate "May 28th, 2002"> <!ENTITY releasedate "May 29th, 2002">
<!ENTITY ftp-root "ftp://ftp.linuxfromscratch.org"> <!ENTITY ftp-root "ftp://ftp.linuxfromscratch.org">
<!ENTITY http-root "http://ftp.linuxfromscratch.org"> <!ENTITY http-root "http://ftp.linuxfromscratch.org">

View File

@ -3,20 +3,20 @@
<?dbhtml filename="foreword.html" dir="preface"?> <?dbhtml filename="foreword.html" dir="preface"?>
<para>Having used a number of different Linux distributions, I was never fully <para>Having used a number of different Linux distributions, I was never fully
satisfied with any of them. I didn't like the way the bootscripts were satisfied with any of them. I didn't like the way the arrangement of the
arranged, I didn't like the way certain programs were configured by bootscripts. I didn't like the way certain programs were configured by
default, and more of those things. I came to realize that if I wanted to default. Much more of that sort of thing bothered me. Finally I realized that
be fully satisfied with a Linux system, I would have to build my own system if I wanted full satisfisfaction from my Linux system I would have to build
from scratch, ideally using only the source code. Not using my own system from scratch, using only the source code. I resolved not to use
pre-compiled packages of any kind. No help from some sort of CD-ROM or pre-compiled packages of any kind, nor CD-ROM or
bootdisk that would install some basic utilities. I would use my current bootdisk that would install some basic utilities. I would use my current
Linux system and use that one to build my own.</para> Linux system to develop my own.</para>
<para>This, at one time, wild idea seemed very difficult and at times almost <para>This wild idea seemed very difficult at the time and often seemed
impossible. After sorting out all kinds of dependency problems, compile an impossible task. After sorting out all kinds of problems, such as
problems, etcetera, a custom-built Linux system was created and fully dependencies and compile-time errors, a custom-built Linux system was
operational. I called this system an LFS system, which stands for Linux created that was fully operational. I called this system a Linux From Scratch
From Scratch.</para> system, or LFS for short.</para>
<para>I hope all of you will have a great time working on LFS!</para> <para>I hope all of you will have a great time working on LFS!</para>

View File

@ -2,57 +2,54 @@
<title>Who would want to read this book</title> <title>Who would want to read this book</title>
<?dbhtml filename="whoread.html" dir="preface"?> <?dbhtml filename="whoread.html" dir="preface"?>
<para>There are a lot of reasons why somebody would want to read this <para>There are many reasons why somebody would want to read this book. The
book in order to install an LFS system. The question most people raise principle reason being to install a LFS system. A question many people raise
is "why go through all the hassle of manually installing a Linux system is "Why go through all the hassle of manually building a Linux system
from scratch when you can just download an existing distribution?". That is from scratch when you can just download and install an existing one?". That
a valid question which I hope to answer for you.</para> is a good question.</para>
<para>The most important reason for LFS's existence is teaching people <para>One important reason for LFS's existence is helping people
how a Linux system works internally. Building an LFS system teaches you learn how a Linux system works from the inside out. Building a LFS system
about all that makes Linux tick, how things work together, and depend on helps demonstrate what makes Linux tick, and how things work together and
each other. And most importantly, how to customize it to your own taste depend on each other. And perhaps most importantly, how to customize it to
and needs.</para> your own tastes and needs.</para>
<para>One of the key benefits of LFS is that you are in control of <para>A key benefit of LFS is that you have more control of your system
your system without having to rely on somebody else's Linux without relying on someone else's Linux implementation. With LFS, you are
implementation. You are in the driver's seat now and are in the driver's seat and dictate every aspect of your system, such as the
able to dictate every single thing such as the directory layout and boot directory layout and boot script setup. You also dictate where, why and how
script setup. You will also know exactly where, why and how programs programs are installed.</para>
are installed.</para>
<para>Another benefit of LFS is that you can create a very compact Linux <para>Another benefit of LFS is the ability to create a very compact Linux
system. When you install a regular distribution, you end system. When installing a regular distribution, you end up with a lot of
up installing a lot of programs you probably would never use. programs you likely will never use. They're just sitting there wasting
They're just sitting there taking up (precious) disk space. It's not (precious) disk space. It isn't difficult to build LFS systems of under
hard to get an LFS system installed under 100 MB. Does that still sound 100 MB. Does that still sound like a lot? A few of us have been working on
like a lot? A few of us have been working on creating a very small creating a very small embedded LFS system. We successfully built a system
embedded LFS system. We installed a system that was just enough to run that was just enough to run the Apache web server with approximately 8MB
the Apache web server; total disk space usage was approximately 8 MB. of disk space used. Further stripping could bring that down to 5 MB or
With further stripping, that can be brought down to 5 MB or less. Try less. Try that with a regular distribution.</para>
that with a regular distribution.</para>
<para>If we were to compare a Linux distribution with a hamburger you <para>We could compare distributed Linux to a hamburger you buy at a
buy at a supermarket or fast-food restaurant, you would end up eating it fast-food restaurant. You have no idea what you are easting. LFS on the
without knowing precisely what it is you are eating, whereas LFS gives other hand, doesn't give you a hamburger, but the recipe to make a hamburger.
you the ingredients to make a hamburger. This allows you to carefully This allows you to inspect it, omit unwanted ingredients, and allows you to
inspect it, remove unwanted ingredients, and at the same time allow you add your own ingredients that enhance the flavour of your burger. When you
to add ingredients to enhance the flavour of your hamburger. When you are are satisfied with the recipe, you go on to preparing it. You make it just
satisfied with the ingredients, you go on to the next part of putting it the way you like it: broil it, bake it, deep-fry it, barbeque it, or eat it
together. You now have the chance to make it just the way you like it: raw.</para>
broil it, bake it, deep-fry it, barbeque it, or eat it raw.</para>
<para>Another analogy that we can use is that of comparing LFS with a <para>Another analogy that we can use is that of comparing LFS with a
finished house. LFS will give you the skeleton of a house, but it's up finished house. LFS will give you the skeleton of a house, but it's up
to you to install plumbing, electrical outlets, kitchen, bathtub, to you to install plumbing, electrical outlets, kitchen, bathtub,
wallpaper, etc.</para> wallpaper, etc.</para>
<para>Another advantage of a custom built Linux system is added security. <para>Another advantage of a custom built Linux system is security.
You will compile the entire system from source, thus allowing you to audit By compiling the entire system from source code, you are empowered to audit
everything, if you wish to do so, and apply all the security patches you everything and apply all the security patches you feel are needed. You don't
want or need to apply. You don't have to wait for somebody else to have to wait for somebody else to compile binary packages that fix a security
provide a new binary package that fixes a security hole. Besides, you hole. Examine the new patch and build it yourself. You have no guarantee
have no guarantee that the new package actually fixes the problem that the new package was built correctly and actually fixes the problem
(adequately). You never truly know whether a security hole is fixed or (adequately). You never truly know whether a security hole is fixed or
not unless you do it yourself.</para> not unless you do it yourself.</para>