mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-19 03:39:20 +01:00
fix typos
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@1338 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
8f98b45c4b
commit
51c0c60367
@ -42,7 +42,7 @@ the next thing that the computer sees is the result of 2*3 and the
|
|||||||
number 1 which are joined by the add symbol. Adding 1 to the previous
|
number 1 which are joined by the add symbol. Adding 1 to the previous
|
||||||
result makes 7. In calculating the most complex calculations can be
|
result makes 7. In calculating the most complex calculations can be
|
||||||
broken down in this tree format and the computer just starts at the
|
broken down in this tree format and the computer just starts at the
|
||||||
bottom and works it's way up to the top and comes with the correct
|
bottom and works its way up to the top and comes with the correct
|
||||||
answer. Of course, Bison isn't only used for calculators alone.</para>
|
answer. Of course, Bison isn't only used for calculators alone.</para>
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
@ -20,7 +20,7 @@ databases.</para></sect3>
|
|||||||
<sect3><title>find</title>
|
<sect3><title>find</title>
|
||||||
<para>The find program searches for files in a directory hierarchy which match
|
<para>The find program searches for files in a directory hierarchy which match
|
||||||
a certain criteria. If no criteria is given, it lists all files in the
|
a certain criteria. If no criteria is given, it lists all files in the
|
||||||
current directory and it's subdirectories.</para></sect3>
|
current directory and its subdirectories.</para></sect3>
|
||||||
|
|
||||||
<sect3><title>frcode</title>
|
<sect3><title>frcode</title>
|
||||||
<para>updatedb runs a program called frcode to compress the list of file names
|
<para>updatedb runs a program called frcode to compress the list of file names
|
||||||
@ -40,7 +40,7 @@ fairly up-to-date else it will provide out-of-date information.</para></sect3>
|
|||||||
file system (including other file system that are currently mounted
|
file system (including other file system that are currently mounted
|
||||||
unless it is told not to do so) and puts every directory and file it finds
|
unless it is told not to do so) and puts every directory and file it finds
|
||||||
into the database that's used by the locate program which retrieves this
|
into the database that's used by the locate program which retrieves this
|
||||||
information. It's a good practice to update this database once a day to
|
information. It's good practice to update this database once a day to
|
||||||
have it up-to-date whenever it is needed.</para></sect3>
|
have it up-to-date whenever it is needed.</para></sect3>
|
||||||
|
|
||||||
<sect3><title>xargs</title>
|
<sect3><title>xargs</title>
|
||||||
|
@ -17,7 +17,7 @@ that is installed in this book:</para>
|
|||||||
chapter 5 and chapter 6.</para>
|
chapter 5 and chapter 6.</para>
|
||||||
|
|
||||||
<para>Most information about these packages (especially the descriptions of
|
<para>Most information about these packages (especially the descriptions of
|
||||||
then) come from the man pages from those packages. We are not going to print
|
them) come from the man pages from those packages. We are not going to print
|
||||||
the entire man page, just the core elements to make it possible to
|
the entire man page, just the core elements to make it possible to
|
||||||
understand what a program does. To get knowledge of all details on a program,
|
understand what a program does. To get knowledge of all details on a program,
|
||||||
we suggest you start by reading the complete man page in addition to
|
we suggest you start by reading the complete man page in addition to
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<para>The alfs-discuss list discusses the development of ALFS, which stands for
|
<para>The alfs-discuss list discusses the development of ALFS, which stands for
|
||||||
Automated Linux From Scratch. The goal of this project is to develop an
|
Automated Linux From Scratch. The goal of this project is to develop an
|
||||||
installation tool that can install an LFS system automatically.
|
installation tool that can install an LFS system automatically.
|
||||||
It's main goal is to speed up compilation by taking away the need to
|
Its main goal is to speed up compilation by taking away the need to
|
||||||
manually enter the commands to configure, compile, and install packages.</para>
|
manually enter the commands to configure, compile, and install packages.</para>
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
<para>All the mailing lists hosted at linuxfromscratch.org are also
|
<para>All the mailing lists hosted at linuxfromscratch.org are also
|
||||||
accessible via the NNTP server. All messages posted to a mailing list
|
accessible via the NNTP server. All messages posted to a mailing list
|
||||||
will be copied to it's correspondent newsgroup, and vice versa.</para>
|
will be copied to the correspondent newsgroup, and vice versa.</para>
|
||||||
|
|
||||||
<para>The news server can be reached at
|
<para>The news server can be reached at
|
||||||
<emphasis>news.linuxfromscratch.org</emphasis></para>
|
<emphasis>news.linuxfromscratch.org</emphasis></para>
|
||||||
|
@ -13,8 +13,8 @@ actually /mnt/lfs but the shell doesn't know that).</para>
|
|||||||
<para><screen>&c6-chrootcmd;</screen></para>
|
<para><screen>&c6-chrootcmd;</screen></para>
|
||||||
|
|
||||||
<para>The -i option will clear all environment variables for as long as you
|
<para>The -i option will clear all environment variables for as long as you
|
||||||
are in the chroot'ed environment and only the ROOT and TERM variables
|
are in the chroot'ed environment and only the HOME and TERM variables
|
||||||
are reset. The TERM=$TERM construction will set the $TERM value inside
|
are set. The TERM=$TERM construction will set the TERM variable inside
|
||||||
chroot to the same value as outside chroot which is needed for programs
|
chroot to the same value as outside chroot which is needed for programs
|
||||||
like vim and less to operate properly. If you need other variables
|
like vim and less to operate properly. If you need other variables
|
||||||
present, such as CFLAGS or CXXFLAGS, you need to set them again.</para>
|
present, such as CFLAGS or CXXFLAGS, you need to set them again.</para>
|
||||||
|
@ -1,9 +1,9 @@
|
|||||||
<sect2><title>Configuring Glibc</title>
|
<sect2><title>Configuring Glibc</title>
|
||||||
|
|
||||||
<para>We need to create the /etc/nsswitch.conf file. Although glibc should
|
<para>We need to create the /etc/nsswitch.conf file. Although glibc should
|
||||||
provide defaults when this file is missing or corrupt, it's defaults don't work
|
provide defaults when this file is missing or corrupt, its defaults don't work
|
||||||
well with networking which will be dealt with in a later chapter. Also, our
|
well with networking which will be dealt with in a later chapter. Also, our
|
||||||
timezone needs to be setup.</para>
|
timezone needs to be set up.</para>
|
||||||
|
|
||||||
<para>Create a new file <filename>/etc/nsswitch.conf</filename> by running the
|
<para>Create a new file <filename>/etc/nsswitch.conf</filename> by running the
|
||||||
following:</para>
|
following:</para>
|
||||||
|
@ -14,7 +14,7 @@ will have Glibc default to using /lib and /usr/lib which is fine).</para>
|
|||||||
<para><userinput>sed 's%\$(PERL)%/usr/bin/perl%'
|
<para><userinput>sed 's%\$(PERL)%/usr/bin/perl%'
|
||||||
malloc/Makefile > tmp~:</userinput> This sed command
|
malloc/Makefile > tmp~:</userinput> This sed command
|
||||||
searches through <filename>malloc/Makefile</filename> and
|
searches through <filename>malloc/Makefile</filename> and
|
||||||
converts all occurences of <filename>$(PERL)</filename> to
|
converts all occurrences of <filename>$(PERL)</filename> to
|
||||||
<filename>/usr/bin/perl</filename>. The output is then written to the
|
<filename>/usr/bin/perl</filename>. The output is then written to the
|
||||||
file <filename>tmp~</filename>. This is done because Glibc can't
|
file <filename>tmp~</filename>. This is done because Glibc can't
|
||||||
autodetect perl since it hasn't been installed yet.</para>
|
autodetect perl since it hasn't been installed yet.</para>
|
||||||
|
@ -4,9 +4,9 @@
|
|||||||
|
|
||||||
<para>Linux uses a special booting facility named SysVinit. It's based on a
|
<para>Linux uses a special booting facility named SysVinit. It's based on a
|
||||||
concept of <emphasis>runlevels</emphasis>. It can be widely different
|
concept of <emphasis>runlevels</emphasis>. It can be widely different
|
||||||
from one system to another, so it can not be assumed that because things
|
from one system to another, so it can't be assumed that because things
|
||||||
worked in <insert distro name> they should work like that in LFS
|
worked in <insert distro name> they should work like that in LFS
|
||||||
too. LFS has it's own way of doing things, but it respects generally
|
too. LFS has its own way of doing things, but it respects generally
|
||||||
accepted standards.</para>
|
accepted standards.</para>
|
||||||
|
|
||||||
<para>SysVinit (which we'll call <emphasis>init</emphasis> from now on) works
|
<para>SysVinit (which we'll call <emphasis>init</emphasis> from now on) works
|
||||||
|
Loading…
Reference in New Issue
Block a user