Changeset cbf7965
- Timestamp:
- 05/29/2002 11:08:16 AM (22 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, v4_0, v4_1, v5_0, v5_1, v5_1_1, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- c4eeb6f
- Parents:
- 7c1805bb
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter04/ncurses-patch.xml
r7c1805bb rcbf7965 1 1 Ncurses Patch (&ncurses-version;) - &ncurses-patch-size;: 2 <ulink url="&ftp;/ncurses-&ncurses- version;.patch.bz2"/>3 <ulink url="&http;/ncurses-&ncurses- version;.patch.bz2"/>2 <ulink url="&ftp;/ncurses-&ncurses-patch-version;.patch.bz2"/> 3 <ulink url="&http;/ncurses-&ncurses-patch-version;.patch.bz2"/> -
index.xml
r7c1805bb rcbf7965 5 5 <!ENTITY book SYSTEM "book/book.xml"> 6 6 7 <!ENTITY version "2002052 8">8 <!ENTITY releasedate "May 2 8th, 2002">7 <!ENTITY version "20020529"> 8 <!ENTITY releasedate "May 29th, 2002"> 9 9 10 10 <!ENTITY ftp-root "ftp://ftp.linuxfromscratch.org"> -
preface/foreword.xml
r7c1805bb rcbf7965 4 4 5 5 <para>Having used a number of different Linux distributions, I was never fully 6 satisfied with any of them. I didn't like the way the bootscripts were7 arranged,I didn't like the way certain programs were configured by8 default , and more of those things. I came to realize that if I wanted to9 be fully satisfied with a Linux system, I would have to build my own system 10 from scratch, ideally using only the source code. Not using11 pre-compiled packages of any kind . No help from some sort ofCD-ROM or6 satisfied with any of them. I didn't like the way the arrangement of the 7 bootscripts. I didn't like the way certain programs were configured by 8 default. Much more of that sort of thing bothered me. Finally I realized that 9 if I wanted full satisfisfaction from my Linux system I would have to build 10 my own system from scratch, using only the source code. I resolved not to use 11 pre-compiled packages of any kind, nor CD-ROM or 12 12 bootdisk that would install some basic utilities. I would use my current 13 Linux system and use that one to buildmy own.</para>13 Linux system to develop my own.</para> 14 14 15 <para>This , at one time, wild idea seemed very difficult and at times almost16 impossible. After sorting out all kinds of dependency problems, compile 17 problems, etcetera, a custom-built Linux system was created and fully 18 operational. I called this system an LFS system, which stands for Linux 19 From Scratch.</para>15 <para>This wild idea seemed very difficult at the time and often seemed 16 an impossible task. After sorting out all kinds of problems, such as 17 dependencies and compile-time errors, a custom-built Linux system was 18 created that was fully operational. I called this system a Linux From Scratch 19 system, or LFS for short.</para> 20 20 21 21 <para>I hope all of you will have a great time working on LFS!</para> -
preface/whoread.xml
r7c1805bb rcbf7965 3 3 <?dbhtml filename="whoread.html" dir="preface"?> 4 4 5 <para>There are a lot of reasons why somebody would want to read this6 book in order to install an LFS system. The question mostpeople raise7 is " why go through all the hassle of manually installing a Linux system8 from scratch when you can just download an existing distribution?". That is9 a valid question which I hope to answer for you.</para>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 10 11 <para> The most important reason for LFS's existence is teaching people12 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>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 16 17 <para>One of the key benefits of LFS is that you are in control of 18 your system without having to rely on somebody else's Linux 19 implementation. 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> 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> 23 22 24 <para>Another benefit of LFS is that you can create a very compact Linux 25 system. When you install a regular distribution, you end 26 up installing a lot of programs you probably would never 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 approximately 8 MB. 32 With further stripping, that can be brought down to 5 MB or less. Try 33 that with a regular distribution.</para> 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> 34 32 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 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: 43 broil it, bake it, deep-fry it, barbeque it, or eat it raw.</para> 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> 44 41 45 42 <para>Another analogy that we can use is that of comparing LFS with a … … 48 45 wallpaper, etc.</para> 49 46 50 <para>Another advantage of a custom built Linux system is addedsecurity.51 You will compile the entire system from source, thus allowing youto audit52 everything , if you wish to do so, and apply all the security patches you53 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 packageactually fixes the problem47 <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 56 53 (adequately). You never truly know whether a security hole is fixed or 57 54 not unless you do it yourself.</para>
Note:
See TracChangeset
for help on using the changeset viewer.