M.Canales.es wrote:
> El Domingo, 9 de Abril de 2006 10:09, Bruce Dubbs escribió:
>
>> Overall, this post is about a detail. Perhaps the proposed changes are
>> not worth the effort, but I would like to see them implemented.
>>
>> Discussion?
>
> A patch will be very welcome ;-)
OK, here it is. I also updated the chapter07/hosts.xml file as
discussed earlier.
-- Bruce
Index: chapter02/mounting.xml
===================================================================
--- chapter02/mounting.xml (revision 7494)
+++ chapter02/mounting.xml (working copy)
@@ -26,9 +26,9 @@
running:</para>
<screen role="nodump"><userinput>mkdir -pv $LFS
-mount -v /dev/<replaceable>[xxx]</replaceable> $LFS</userinput></screen>
+mount -v /dev/<replaceable><xxx></replaceable> $LFS</userinput></screen>
- <para>Replace <replaceable>[xxx]</replaceable> with the designation of the
LFS
+ <para>Replace <replaceable><xxx></replaceable> with the designation of
the LFS
partition.</para>
<para>If using multiple partitions for LFS (e.g., one for <filename
@@ -36,12 +36,12 @@
class="directory">/usr</filename>), mount them using:</para>
<screen role="nodump"><userinput>mkdir -pv $LFS
-mount -v /dev/<replaceable>[xxx]</replaceable> $LFS
+mount -v /dev/<replaceable><xxx></replaceable> $LFS
mkdir -v $LFS/usr
-mount -v /dev/<replaceable>[yyy]</replaceable> $LFS/usr</userinput></screen>
+mount -v /dev/<replaceable><yyy></replaceable>
$LFS/usr</userinput></screen>
- <para>Replace <replaceable>[xxx]</replaceable> and
- <replaceable>[yyy]</replaceable> with the appropriate partition
+ <para>Replace <replaceable><xxx></replaceable> and
+ <replaceable><yyy></replaceable> with the appropriate partition
names.</para>
<para>Ensure that this new partition is not mounted with permissions that
Index: chapter02/creatingfilesystem.xml
===================================================================
--- chapter02/creatingfilesystem.xml (revision 7494)
+++ chapter02/creatingfilesystem.xml (working copy)
@@ -21,9 +21,9 @@
<para>To create an <systemitem class="filesystem">ext2</systemitem> file
system on the LFS partition, run the following:</para>
-<screen role="nodump"><userinput>mke2fs -v
/dev/<replaceable>[xxx]</replaceable></userinput></screen>
+<screen role="nodump"><userinput>mke2fs -v
/dev/<replaceable><xxx></replaceable></userinput></screen>
- <para>Replace <replaceable>[xxx]</replaceable> with the name of the LFS
+ <para>Replace <replaceable><xxx></replaceable> with the name of the LFS
partition (<filename class="devicefile">hda5</filename> in our previous
example).</para>
@@ -35,7 +35,7 @@
features, upgrade your e2fsprogs</quote>. To check if your host system
uses custom enhancements, run the following command:</para>
-<screen role="nodump"><userinput>debugfs -R feature
/dev/<replaceable>[xxx]</replaceable></userinput></screen>
+<screen role="nodump"><userinput>debugfs -R feature
/dev/<replaceable><xxx></replaceable></userinput></screen>
<para>If the output contains features other than:
<option>dir_index</option>;
<option>filetype</option>; <option>large_file</option>;
@@ -51,7 +51,7 @@
cd build
../configure
make #note that we intentionally don't 'make install' here!
-./misc/mke2fs -v /dev/<replaceable>[xxx]</replaceable>
+./misc/mke2fs -v /dev/<replaceable><xxx></replaceable>
cd /tmp
rm -rfv e2fsprogs-&e2fsprogs-version;</userinput></screen>
</note>
@@ -61,9 +61,9 @@
If you are using an existing <systemitem class="filesystem">swap</systemitem>
partition, there is no need to format it.</para>
-<screen role="nodump"><userinput>mkswap
/dev/<replaceable>[yyy]</replaceable></userinput></screen>
+<screen role="nodump"><userinput>mkswap
/dev/<replaceable><yyy></replaceable></userinput></screen>
- <para>Replace <replaceable>[yyy]</replaceable> with the name of the
+ <para>Replace <replaceable><yyy></replaceable> with the name of the
<systemitem class="filesystem">swap</systemitem> partition.</para>
</sect1>
Index: chapter06/gettext.xml
===================================================================
--- chapter06/gettext.xml (revision 7494)
+++ chapter06/gettext.xml (working copy)
@@ -76,7 +76,7 @@
gettextize, hostname, msgattrib, msgcat, msgcmp, msgcomm, msgconv,
msgen,
msgexec, msgfilter, msgfmt, msggrep, msginit, msgmerge, msgunfmt,
msguniq,
ngettext, and xgettext</seg>
- <seg>libasprintf.[a,so], libgettextlib.so, libgettextpo.[a,so], and
+ <seg>libasprintf.{a,so}, libgettextlib.so, libgettextpo.{a,so}, and
libgettextsrc.so</seg>
</seglistitem>
</segmentedlist>
Index: chapter06/shadow.xml
===================================================================
--- chapter06/shadow.xml (revision 7494)
+++ chapter06/shadow.xml (working copy)
@@ -220,7 +220,7 @@
groupdel, groupmod, grpck, grpconv, grpunconv, lastlog, login, logoutd,
newgrp, newusers, passwd, pwck, pwconv, pwunconv, sg (link to newgrp),
su, useradd, userdel, usermod, vigr (link to vipw), and vipw</seg>
- <seg>libshadow.[a,so]</seg>
+ <seg>libshadow.{a,so}</seg>
</seglistitem>
</segmentedlist>
Index: chapter06/libtool.xml
===================================================================
--- chapter06/libtool.xml (revision 7494)
+++ chapter06/libtool.xml (working copy)
@@ -72,7 +72,7 @@
<seglistitem>
<seg>libtool and libtoolize</seg>
- <seg>libltdl.[a,so]</seg>
+ <seg>libltdl.{a,so}</seg>
</seglistitem>
</segmentedlist>
Index: chapter06/db.xml
===================================================================
--- chapter06/db.xml (revision 7494)
+++ chapter06/db.xml (working copy)
@@ -124,7 +124,7 @@
<seglistitem>
<seg>db_archive, db_checkpoint, db_deadlock, db_dump, db_hotbackup,
db_load, db_printlog, db_recover, db_stat, db_upgrade, and
db_verify</seg>
- <seg>libdb.[so,a] and libdb_cxx.[so,a]</seg>
+ <seg>libdb.{so,ar}and libdb_cxx.r{o,ar}</seg>
</seglistitem>
</segmentedlist>
@@ -250,7 +250,7 @@
<varlistentry id="libdb">
- <term><filename class="libraryfile">libdb.[so,a]</filename></term>
+ <term><filename class="libraryfile">libdb.{so,a}</filename></term>
<listitem>
<para>Contains functions to manipulate database files from C
programs</para>
@@ -261,7 +261,7 @@
</varlistentry>
<varlistentry id="libdb_cxx">
- <term><filename class="libraryfile">libdb_cxx.[so,a]</filename></term>
+ <term><filename class="libraryfile">libdb_cxx.{so,a}</filename></term>
<listitem>
<para>Contains functions to manipulate database files from C++
programs</para>
Index: chapter06/gcc.xml
===================================================================
--- chapter06/gcc.xml (revision 7494)
+++ chapter06/gcc.xml (working copy)
@@ -141,7 +141,7 @@
<seglistitem>
<seg>c++, cc (link to gcc), cpp, g++, gcc, gccbug, and gcov</seg>
- <seg>libgcc.a, libgcc_eh.a, libgcc_s.so, libstdc++.[a,so], and
+ <seg>libgcc.a, libgcc_eh.a, libgcc_s.so, libstdc++.{a,so}, and
libsupc++.a</seg>
</seglistitem>
</segmentedlist>
Index: chapter06/man-db.xml
===================================================================
--- chapter06/man-db.xml (revision 7494)
+++ chapter06/man-db.xml (working copy)
@@ -289,8 +289,8 @@
<para>If upstream distributes the manual pages in the same encoding
as Man-DB expects, the manual pages can be copied to
- <filename class="directory">/usr/share/man/<replaceable>[language
- code]</replaceable></filename>. E.g., French manual pages
+ <filename class="directory">/usr/share/man/<replaceable><language
+ code></replaceable></filename>. E.g., French manual pages
(<ulink url="http://ccb.club.fr/man/man-fr-1.58.0.tar.bz2"/>) can be
installed with the following command:</para>
Index: chapter06/groff.xml
===================================================================
--- chapter06/groff.xml (revision 7494)
+++ chapter06/groff.xml (working copy)
@@ -72,7 +72,7 @@
<para>Prepare Groff for compilation:</para>
-<screen><userinput>PAGE=<replaceable>[paper_size]</replaceable> ./configure
--prefix=/usr --enable-multibyte</userinput></screen>
+<screen><userinput>PAGE=<replaceable><paper_size></replaceable>
./configure --prefix=/usr --enable-multibyte</userinput></screen>
<para>Compile the package:</para>
Index: chapter06/iproute2.xml
===================================================================
--- chapter06/iproute2.xml (revision 7494)
+++ chapter06/iproute2.xml (working copy)
@@ -144,7 +144,7 @@
<listitem>
<para>The main executable. It has several different functions:</para>
- <para><command>ip link <replaceable>[device]</replaceable></command>
+ <para><command>ip link
<replaceable><device></replaceable></command>
allows users to look at the state of devices and to make
changes</para>
<para><command>ip addr</command> allows users to look at addresses
and
Index: chapter06/readline.xml
===================================================================
--- chapter06/readline.xml (revision 7494)
+++ chapter06/readline.xml (working copy)
@@ -102,7 +102,7 @@
<segtitle>Installed libraries</segtitle>
<seglistitem>
- <seg>libhistory.[a,so], and libreadline.[a,so]</seg>
+ <seg>libhistory.{a,so}, and libreadline.{a,so}</seg>
</seglistitem>
</segmentedlist>
Index: chapter06/bzip2.xml
===================================================================
--- chapter06/bzip2.xml (revision 7494)
+++ chapter06/bzip2.xml (working copy)
@@ -119,7 +119,7 @@
<seglistitem>
<seg>bunzip2 (link to bzip2), bzcat (link to bzip2), bzcmp, bzdiff,
bzegrep, bzfgrep, bzgrep, bzip2, bzip2recover, bzless, and bzmore</seg>
- <seg>libbz2.[a,so]</seg>
+ <seg>libbz2.{a,so}</seg>
</seglistitem>
</segmentedlist>
Index: chapter06/binutils.xml
===================================================================
--- chapter06/binutils.xml (revision 7494)
+++ chapter06/binutils.xml (working copy)
@@ -127,7 +127,7 @@
<seglistitem>
<seg>addr2line, ar, as, c++filt, gprof, ld, nm, objcopy, objdump,
ranlib, readelf, size, strings, and strip</seg>
- <seg>libiberty.a, libbfd.[a,so], and libopcodes.[a,so]</seg>
+ <seg>libiberty.a, libbfd.{a,so}, and libopcodes.{a,so}</seg>
</seglistitem>
</segmentedlist>
Index: chapter06/glibc.xml
===================================================================
--- chapter06/glibc.xml (revision 7494)
+++ chapter06/glibc.xml (working copy)
@@ -271,10 +271,10 @@
<emphasis>Canada/Eastern</emphasis>). Then create the
<filename>/etc/localtime</filename> file by running:</para>
-<screen><userinput>cp -v --remove-destination
/usr/share/zoneinfo/<replaceable>[xxx]</replaceable> \
+<screen><userinput>cp -v --remove-destination
/usr/share/zoneinfo/<replaceable>$lt;xxx></replaceable> \
/etc/localtime</userinput></screen>
- <para>Replace <replaceable>[xxx]</replaceable> with the name of the time
zone
+ <para>Replace <replaceable><xxx></replaceable> with the name of the
time zone
that <command>tzselect</command> provided (e.g., Canada/Eastern).</para>
<variablelist>
@@ -342,13 +342,13 @@
ldd, lddlibc4, locale, localedef, mtrace, nscd, nscd_nischeck,
pcprofiledump, pt_chown, rpcgen, rpcinfo, sln, sprof, tzselect, xtrace,
zdump, and zic</seg>
- <seg>ld.so, libBrokenLocale.[a,so], libSegFault.so, libanl.[a,so],
- libbsd-compat.a, libc.[a,so], libcidn.so, libcrypt.[a,so],
libdl.[a,so],
- libg.a, libieee.a, libm.[a,so], libmcheck.a, libmemusage.so, libnsl.a,
+ <seg>ld.so, libBrokenLocale.{a,so}, libSegFault.so, libanl.{a,so},
+ libbsd-compat.a, libc.{a,so}, libcidn.so, libcrypt.{a,so},
libdl.{a,so},
+ libg.a, libieee.a, libm.{a,so}, libmcheck.a, libmemusage.so, libnsl.a,
libnss_compat.so, libnss_dns.so, libnss_files.so, libnss_hesiod.so,
- libnss_nis.so, libnss_nisplus.so, libpcprofile.so, libpthread.[a,so],
- libresolv.[a,so], librpcsvc.a, librt.[a,so], libthread_db.so, and
- libutil.[a,so]</seg>
+ libnss_nis.so, libnss_nisplus.so, libpcprofile.so, libpthread.{a,so},
+ libresolv.{a,so}, librpcsvc.a, librt.{a,so}, libthread_db.so, and
+ libutil.{a,so}</seg>
</seglistitem>
</segmentedlist>
Index: chapter06/ncurses.xml
===================================================================
--- chapter06/ncurses.xml (revision 7494)
+++ chapter06/ncurses.xml (working copy)
@@ -165,9 +165,9 @@
<seglistitem>
<seg>captoinfo (link to tic), clear, infocmp, infotocap (link to tic),
reset (link to tset), tack, tic, toe, tput, and tset</seg>
- <seg>libcursesw.[a,so] (symlink and linker script to
libncursesw.[a,so]),
- libformw.[a,so], libmenuw.[a,so], libncurses++w.a, libncursesw.[a,so],
- libpanelw.[a,so] and their non-wide-character counterparts without "w"
+ <seg>libcursesw.{a,so} (symlink and linker script to
libncursesw.{a,so}),
+ libformw.{a,so}, libmenuw.{a,so}, libncurses++w.a, libncursesw.{a,so},
+ libpanelw.{a,so} and their non-wide-character counterparts without "w"
in the library names.</seg>
</seglistitem>
</segmentedlist>
Index: chapter06/zlib.xml
===================================================================
--- chapter06/zlib.xml (revision 7494)
+++ chapter06/zlib.xml (working copy)
@@ -101,7 +101,7 @@
<segtitle>Installed libraries</segtitle>
<seglistitem>
- <seg>libz.[a,so]</seg>
+ <seg>libz.{a,so}</seg>
</seglistitem>
</segmentedlist>
Index: chapter06/e2fsprogs.xml
===================================================================
--- chapter06/e2fsprogs.xml (revision 7494)
+++ chapter06/e2fsprogs.xml (working copy)
@@ -125,8 +125,8 @@
e2image, e2label, findfs, fsck, fsck.ext2, fsck.ext3, logsave, lsattr,
mk_cmds, mke2fs, mkfs.ext2, mkfs.ext3, mklost+found, resize2fs,
tune2fs, and uuidgen.</seg>
- <seg>libblkid.[a,so], libcom_err.[a,so], libe2p.[a,so],
- libext2fs.[a,so], libss.[a,so], and libuuid.[a,so]</seg>
+ <seg>libblkid.{a,so}, libcom_err.{a,so}, libe2p.{a,so},
+ libext2fs.{a,so}, libss.{a,so}, and libuuid.{a,so}</seg>
</seglistitem>
</segmentedlist>
Index: chapter06/file.xml
===================================================================
--- chapter06/file.xml (revision 7494)
+++ chapter06/file.xml (working copy)
@@ -70,7 +70,7 @@
<seglistitem>
<seg>file</seg>
- <seg>libmagic.[a,so]</seg>
+ <seg>libmagic.{a,so}</seg>
</seglistitem>
</segmentedlist>
Index: prologue/typography.xml
===================================================================
--- prologue/typography.xml (revision 7494)
+++ prologue/typography.xml (working copy)
@@ -49,11 +49,15 @@
is encountered. Therefore, this entire section is generally typed as
seen.</para>
- <para><replaceable>[REPLACED TEXT]</replaceable></para>
+ <para><replaceable><REPLACED TEXT></replaceable></para>
<para>This format is used to encapsulate text that is not to be typed
- as seen or copied-and-pasted.</para>
+ as seen or for copy-and-paste operations.</para>
+ <para><replaceable>[OPTIONAL TEXT]</replaceable></para>
+
+ <para>This format is used to encapsulate text that is optional.</para>
+
<para><filename>passwd(5)</filename></para>
<para>This format is used to refer to a specific manual page (hereinafter
@@ -70,8 +74,8 @@
<filename>/usr/share/man/man1/passwd.1</filename>. For this example, you will
need to run <command>man 5 passwd</command> in order to read the specific
page
being referred to. It should be noted that most man pages do not have
duplicate
- page names in different sections. Therefore, <command>man
<replaceable>[program
- name]</replaceable></command> is generally sufficient.</para>
+ page names in different sections. Therefore, <command>man
<replaceable><program
+ name></replaceable></command> is generally sufficient.</para>
</sect1>
Index: chapter07/hosts.xml
===================================================================
--- chapter07/hosts.xml (revision 7494)
+++ chapter07/hosts.xml (working copy)
@@ -23,10 +23,10 @@
<secondary>/etc/hosts</secondary></indexterm>
<para>If a network card is to be configured, decide on the IP address,
- FQDN, and possible aliases for use in the
+ Fully Qualified Domain Name (FQDN), and possible aliases for use in the
<filename>/etc/hosts</filename> file. The syntax is:</para>
-<screen><literal><IP address> myhost.example.org
aliases</literal></screen>
+<screen><literal>IP-address myhost.example.org aliases</literal></screen>
<para>Unless the computer is to be visible to the Internet (i.e.,
there is a registered domain and a valid block of assigned IP
@@ -34,11 +34,14 @@
address is in the private network IP address range. Valid ranges
are:</para>
-<screen><literal> Class Networks
- A 10.0.0.0
- B 172.16.0.0 through 172.31.0.255
- C 192.168.0.0 through 192.168.255.255</literal></screen>
+<screen><literal>Private Network Address Range Normal Prefix
+10.0.0.1 – 10.255.255.254 8
+172.x.0.0 – 172.x.255.254 16
+192.168.y.0 – 192.168.y.254 24</literal></screen>
+ <para>x can be any number in the range 16–31. y can be any number in
+ the range 0–255.</para>
+
<para>A valid IP address could be 192.168.1.1. A valid FQDN for this
IP could be www.linuxfromscratch.org (not recommended because this is
a valid registered domain address and could cause domain name server
@@ -53,16 +56,17 @@
<literal># Begin /etc/hosts (network card version)
127.0.0.1 localhost
-<replaceable>[192.168.1.1]</replaceable>
<replaceable>[<HOSTNAME>.example.org]</replaceable>
<replaceable>[HOSTNAME]</replaceable>
+<replaceable><192.168.1.1></replaceable>
<replaceable><HOSTNAME.example.org></replaceable> <replaceable>[alias1]
[alias2 ...]</replaceable>
# End /etc/hosts (network card version)</literal>
EOF</userinput></screen>
- <para>The <replaceable>[192.168.1.1]</replaceable> and
- <replaceable>[<HOSTNAME>.example.org]</replaceable>
+ <para>The <replaceable><192.168.1.1></replaceable> and
+ <replaceable><HOSTNAME.example.org></replaceable>
values need to be changed for specific users or requirements (if
assigned an IP address by a network/system administrator and the
- machine will be connected to an existing network).</para>
+ machine will be connected to an existing network). The optional alias
+ name(s) can be omitted.</para>
<para>If a network card is not going to be configured, create the
<filename>/etc/hosts</filename> file by running:</para>
@@ -70,7 +74,7 @@
<screen role="nodump"><userinput>cat > /etc/hosts << "EOF"
<literal># Begin /etc/hosts (no network card version)
-127.0.0.1 <replaceable>[<HOSTNAME>.example.org]</replaceable>
<replaceable>[HOSTNAME]</replaceable> localhost
+127.0.0.1 <replaceable><HOSTNAME.example.org></replaceable>
<replaceable><HOSTNAME></replaceable> localhost
# End /etc/hosts (no network card version)</literal>
EOF</userinput></screen>
Index: chapter07/profile.xml
===================================================================
--- chapter07/profile.xml (revision 7494)
+++ chapter07/profile.xml (working copy)
@@ -65,10 +65,10 @@
makes Bash and Readline use the <filename>/etc/inputrc</filename> file
created
earlier.</para>
- <para>Replace <replaceable>[ll]</replaceable> below with the two-letter code
+ <para>Replace <replaceable><ll></replaceable> below with the
two-letter code
for the desired language (e.g., <quote>en</quote>) and
- <replaceable>[CC]</replaceable> with the two-letter code for the appropriate
- country (e.g., <quote>GB</quote>). <replaceable>[charmap]</replaceable>
should
+ <replaceable><CC></replaceable> with the two-letter code for the
appropriate
+ country (e.g., <quote>GB</quote>).
<replaceable><charmap></replaceable> should
be replaced with the canonical charmap for your chosen locale. Optional
modifiers such as <quote>@euro</quote> may also be present.</para>
@@ -83,11 +83,11 @@
that <quote>UTF-8</quote> is written as <quote>UTF-8</quote>, not
<quote>utf8</quote>), so it is safest in most
cases to choose the canonical name for a particular locale. To determine
- the canonical name, run the following command, where <replaceable>[locale
- name]</replaceable> is the output given by <command>locale -a</command> for
+ the canonical name, run the following command, where <replaceable><locale
+ name></replaceable> is the output given by <command>locale -a</command>
for
your preferred locale (<quote>en_GB.iso88591</quote> in our example).</para>
-<screen role="nodump"><userinput>LC_ALL=<replaceable>[locale
name]</replaceable> locale charmap</userinput></screen>
+<screen role="nodump"><userinput>LC_ALL=<replaceable><locale
name></replaceable> locale charmap</userinput></screen>
<para>For the <quote>en_GB.iso88591</quote> locale, the above command
will print:</para>
@@ -98,11 +98,11 @@
It is important that the locale found using the heuristic above is tested
prior
to it being added to the Bash startup files:</para>
-<screen role="nodump"><userinput>LC_ALL=[locale name] locale country
-LC_ALL=[locale name] locale language
-LC_ALL=[locale name] locale charmap
-LC_ALL=[locale name] locale int_curr_symbol
-LC_ALL=[locale name] locale int_prefix</userinput></screen>
+<screen role="nodump"><userinput>LC_ALL=<locale name> locale country
+LC_ALL=<locale name> locale language
+LC_ALL=<locale name> locale charmap
+LC_ALL=<locale name> locale int_curr_symbol
+LC_ALL=<locale name> locale int_prefix</userinput></screen>
<para>The above commands should print the country and language names, the
character encoding used by the locale, the local currency and the prefix to
dial
@@ -143,7 +143,7 @@
<screen><userinput>cat > /etc/profile << "EOF"
<literal># Begin /etc/profile
-export
LANG=<replaceable>[ll]</replaceable>_<replaceable>[CC]</replaceable>.<replaceable>[charmap]</replaceable><replaceable>[EMAIL
PROTECTED]</replaceable>
+export
LANG=<replaceable><ll></replaceable>_<replaceable><CC></replaceable>.<replaceable><charmap></replaceable><replaceable><@modifiers></replaceable>
export INPUTRC=/etc/inputrc
# End /etc/profile</literal>
Index: chapter07/usage.xml
===================================================================
--- chapter07/usage.xml (revision 7494)
+++ chapter07/usage.xml (working copy)
@@ -38,8 +38,8 @@
6: reboot the computer</literallayout>
<para>The command used to change run-levels is <command>init
- <replaceable>[runlevel]</replaceable></command>, where
- <replaceable>[runlevel]</replaceable> is the target run-level. For example,
to
+ <replaceable><runlevel></replaceable></command>, where
+ <replaceable><runlevel></replaceable> is the target run-level. For
example, to
reboot the computer, a user could issue the <command>init 6</command>
command,
which is an alias for the <command>reboot</command> command. Likewise,
<command>init 0</command> is an alias for the <command>halt</command>
Index: chapter07/network.xml
===================================================================
--- chapter07/network.xml (revision 7494)
+++ chapter07/network.xml (working copy)
@@ -97,14 +97,14 @@
<screen><userinput>cat > /etc/resolv.conf << "EOF"
<literal># Begin /etc/resolv.conf
-domain {<replaceable>[Your Domain Name]</replaceable>}
-nameserver <replaceable>[IP address of your primary nameserver]</replaceable>
-nameserver <replaceable>[IP address of your secondary nameserver]</replaceable>
+domain {<replaceable><Your Domain Name></replaceable>}
+nameserver <replaceable><IP address of your primary
nameserver></replaceable>
+nameserver <replaceable><IP address of your secondary
nameserver></replaceable>
# End /etc/resolv.conf</literal>
EOF</userinput></screen>
- <para>Replace <replaceable>[IP address of the nameserver]</replaceable>
+ <para>Replace <replaceable><IP address of the
nameserver></replaceable>
with the IP address of the DNS most appropriate for the setup. There will
often be more than one entry (requirements demand secondary servers for
fallback capability). If you only need or want one DNS server, remove the
Index: chapter07/hostname.xml
===================================================================
--- chapter07/hostname.xml (revision 7494)
+++ chapter07/hostname.xml (working copy)
@@ -22,9 +22,9 @@
<para>Create the <filename>/etc/sysconfig/network</filename> file and enter a
hostname by running:</para>
-<screen><userinput>echo "HOSTNAME=<replaceable>[lfs]</replaceable>" >
/etc/sysconfig/network</userinput></screen>
+<screen><userinput>echo "HOSTNAME=<replaceable><lfs></replaceable>" >
/etc/sysconfig/network</userinput></screen>
- <para><replaceable>[lfs]</replaceable> needs to be replaced with the name
given
+ <para><replaceable><lfs></replaceable> needs to be replaced with the
name given
to the computer. Do not enter the Fully Qualified Domain Name (FQDN) here.
That
information will be put in the <filename>/etc/hosts</filename> file in the
next
section.</para>
Index: chapter08/fstab.xml
===================================================================
--- chapter08/fstab.xml (revision 7494)
+++ chapter08/fstab.xml (working copy)
@@ -25,8 +25,8 @@
# file system mount-point type options dump fsck
# order
-/dev/<replaceable>[xxx]</replaceable> /
<replaceable>[fff]</replaceable> defaults 1 1
-/dev/<replaceable>[yyy]</replaceable> swap swap pri=1
0 0
+/dev/<replaceable><xxx></replaceable> /
<replaceable><fff></replaceable> defaults 1 1
+/dev/<replaceable><yyy></replaceable> swap swap pri=1
0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs defaults 0 0
devpts /dev/pts devpts gid=4,mode=620 0 0
@@ -34,8 +34,8 @@
# End /etc/fstab</literal>
EOF</userinput></screen>
- <para>Replace <replaceable>[xxx]</replaceable>,
- <replaceable>[yyy]</replaceable>, and <replaceable>[fff]</replaceable>
+ <para>Replace <replaceable><xxx></replaceable>,
+ <replaceable><yyy></replaceable>, and
<replaceable><fff></replaceable>
with the values appropriate for the system, for example, <filename
class="partition">hda2</filename>, <filename
class="partition">hda5</filename>, and <systemitem
--
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page