aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Canales Esparcia <manuel@linuxfromscratch.org>2005-10-15 17:22:01 +0000
committerManuel Canales Esparcia <manuel@linuxfromscratch.org>2005-10-15 17:22:01 +0000
commit1ec69ac57c066d03b36db24f05931b5a8c9d76cf (patch)
tree489a94366767addeee8ca9ca3c4415ecf8b986c0
parente9f3e85324f490524718480c7c8b4a22f563a753 (diff)
Added nodump attributes.
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/6.1.1/BOOK@7021 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
-rw-r--r--chapter02/creatingfilesystem.xml8
-rw-r--r--chapter02/mounting.xml6
-rw-r--r--chapter03/introduction.xml4
-rw-r--r--chapter04/aboutlfs.xml4
-rw-r--r--chapter04/addinguser.xml2
-rw-r--r--chapter05/glibc.xml2
-rw-r--r--chapter06/bash.xml2
-rw-r--r--chapter06/glibc.xml4
-rw-r--r--chapter06/pwdgroup.xml2
-rw-r--r--chapter06/shadow.xml2
-rw-r--r--chapter06/strippingagain.xml4
-rw-r--r--chapter06/texinfo.xml2
-rw-r--r--chapter06/vim.xml2
-rw-r--r--chapter07/console.xml10
-rw-r--r--chapter07/hosts.xml2
-rw-r--r--chapter07/profile.xml4
-rw-r--r--chapter07/udev.xml2
-rw-r--r--chapter08/kernel.xml4
-rw-r--r--chapter09/reboot.xml4
-rw-r--r--prologue/hostreqs.xml2
-rw-r--r--prologue/typography.xml4
21 files changed, 38 insertions, 38 deletions
diff --git a/chapter02/creatingfilesystem.xml b/chapter02/creatingfilesystem.xml
index 65ac35094..67d34fcc7 100644
--- a/chapter02/creatingfilesystem.xml
+++ b/chapter02/creatingfilesystem.xml
@@ -18,7 +18,7 @@ condition="pdf">&blfs-root;view/svn/ postlfs/filesystems.html</phrase></ulink>.<
<para>To create an ext2 file system on the LFS partition, run the following:</para>
-<screen><userinput>mke2fs /dev/<replaceable>[xxx]</replaceable></userinput></screen>
+<screen role="nodump"><userinput>mke2fs /dev/<replaceable>[xxx]</replaceable></userinput></screen>
<para>Replace <replaceable>[xxx]</replaceable> with the name of the LFS
partition (<filename class="devicefile">hda5</filename> in our previous example).</para>
@@ -30,7 +30,7 @@ e2fsprogs; you will get an error similar to <quote>unsupported filesystem
features, upgrade your e2fsprogs</quote>. To check if your host system
uses custom enhancements, run the following command:</para>
-<screen><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: dir_index; filetype;
large_file; resize_inode or sparse_super then your host system may have custom
@@ -38,7 +38,7 @@ enhancements. In that case, to avoid later problems, you should compile the
stock e2fsprogs package and use the resulting binaries to re-create the
filesystem on your LFS partition:</para>
-<screen><userinput>cd /tmp
+<screen role="nodump"><userinput>cd /tmp
tar xjf /path/to/sources/e2fsprogs-&e2fsprogs-version;.tar.bz2
cd e2fsprogs-&e2fsprogs-version;
mkdir build
@@ -54,7 +54,7 @@ rm -rf e2fsprogs-&e2fsprogs-version;</userinput></screen>
issuing the command below. If you are using an existing swap partition, there is
no need to format it.</para>
-<screen><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 swap
partition.</para>
diff --git a/chapter02/mounting.xml b/chapter02/mounting.xml
index 0ac3f91bf..e9ffd2d26 100644
--- a/chapter02/mounting.xml
+++ b/chapter02/mounting.xml
@@ -17,12 +17,12 @@ to you.</para>
<para>Choose a mount point and assign it to the <envar>LFS</envar>
environment variable by running:</para>
-<screen><userinput>export LFS=/mnt/lfs</userinput></screen>
+<screen role="nodump"><userinput>export LFS=/mnt/lfs</userinput></screen>
<para>Next, create the mount point and mount the LFS file system by
running:</para>
-<screen><userinput>mkdir -p $LFS
+<screen role="nodump"><userinput>mkdir -p $LFS
mount /dev/<replaceable>[xxx]</replaceable> $LFS</userinput></screen>
<para>Replace <replaceable>[xxx]</replaceable> with the designation of the LFS
@@ -32,7 +32,7 @@ partition.</para>
class="directory">/</filename> and another for <filename
class="directory">/usr</filename>), mount them using:</para>
-<screen><userinput>mkdir -p $LFS
+<screen role="nodump"><userinput>mkdir -p $LFS
mount /dev/<replaceable>[xxx]</replaceable> $LFS
mkdir $LFS/usr
mount /dev/<replaceable>[yyy]</replaceable> $LFS/usr</userinput></screen>
diff --git a/chapter03/introduction.xml b/chapter03/introduction.xml
index 32e7469fe..f02e92531 100644
--- a/chapter03/introduction.xml
+++ b/chapter03/introduction.xml
@@ -36,7 +36,7 @@ of the building process.</para>
<emphasis>root</emphasis>, the following command before starting the
download session:</para>
-<screen><userinput>mkdir $LFS/sources</userinput></screen>
+<screen role="nodump"><userinput>mkdir $LFS/sources</userinput></screen>
<para>Make this directory writable and sticky. <quote>Sticky</quote>
means that even if multiple users have write permission on a
@@ -44,7 +44,7 @@ directory, only the owner of a file can delete the file within a
sticky directory. The following command will enable the write and
sticky modes:</para>
-<screen><userinput>chmod a+wt $LFS/sources</userinput></screen>
+<screen role="nodump"><userinput>chmod a+wt $LFS/sources</userinput></screen>
</sect1>
diff --git a/chapter04/aboutlfs.xml b/chapter04/aboutlfs.xml
index 64f20f1b4..d97f634b0 100644
--- a/chapter04/aboutlfs.xml
+++ b/chapter04/aboutlfs.xml
@@ -12,14 +12,14 @@ be used several times. It is paramount that this variable is always defined.
It should be set to the mount point chosen for the LFS partition.
Check that the <envar>LFS</envar> variable is set up properly with:</para>
-<screen><userinput>echo $LFS</userinput></screen>
+<screen role="nodump"><userinput>echo $LFS</userinput></screen>
<para>Make sure the output shows the path to the LFS partition's mount
point, which is <filename class="directory">/mnt/lfs</filename> if the
provided example was followed. If the output is incorrect, the
variable can be set with:</para>
-<screen><userinput>export LFS=/mnt/lfs</userinput></screen>
+<screen role="nodump"><userinput>export LFS=/mnt/lfs</userinput></screen>
<para>Having this variable set is beneficial in that commands such as
<command>mkdir $LFS/tools</command> can be typed literally. The shell
diff --git a/chapter04/addinguser.xml b/chapter04/addinguser.xml
index 67b9f44d6..bd096936b 100644
--- a/chapter04/addinguser.xml
+++ b/chapter04/addinguser.xml
@@ -62,7 +62,7 @@ logged in as <emphasis>root</emphasis>, which does not require the
<emphasis>lfs</emphasis> user to have a
password), give <emphasis>lfs</emphasis> a password:</para>
-<screen><userinput>passwd lfs</userinput></screen>
+<screen role="nodump"><userinput>passwd lfs</userinput></screen>
<para>Grant <emphasis>lfs</emphasis> full access to
<filename class="directory">$LFS/tools</filename> by making
diff --git a/chapter05/glibc.xml b/chapter05/glibc.xml
index 29fdb2adc..de9737ab4 100644
--- a/chapter05/glibc.xml
+++ b/chapter05/glibc.xml
@@ -182,7 +182,7 @@ chapter.</para></note>
<para>To install the Glibc locales anyway, use the following
command:</para>
-<screen><userinput>make localedata/install-locales</userinput></screen>
+<screen role="nodump"><userinput>make localedata/install-locales</userinput></screen>
<para>To save time, an alternative to running the
previous command (which generates and installs every locale Glibc is
diff --git a/chapter06/bash.xml b/chapter06/bash.xml
index 2dfcf456d..07534395a 100644
--- a/chapter06/bash.xml
+++ b/chapter06/bash.xml
@@ -69,7 +69,7 @@ on the system rather than using its own readline version.</para></listitem>
<para>Run the newly compiled <command>bash</command> program (replacing the one that is
currently being executed):</para>
-<screen><userinput>exec /bin/bash --login +h</userinput></screen>
+<screen role="nodump"><userinput>exec /bin/bash --login +h</userinput></screen>
<note><para>The parameters used make the <command>bash</command>
process an interactive login shell and continue to disable hashing so
diff --git a/chapter06/glibc.xml b/chapter06/glibc.xml
index f53bed9e2..1d671451f 100644
--- a/chapter06/glibc.xml
+++ b/chapter06/glibc.xml
@@ -152,7 +152,7 @@ instructions, instead of the <parameter>install-locales</parameter>
target used above, will install the minimum set of locales necessary
for the tests to run successfully:</para>
-<screen><userinput>mkdir -p /usr/lib/locale
+<screen role="nodump"><userinput>mkdir -p /usr/lib/locale
localedef -i de_DE -f ISO-8859-1 de_DE
localedef -i de_DE@euro -f ISO-8859-15 de_DE@euro
localedef -i en_HK -f ISO-8859-1 en_HK
@@ -223,7 +223,7 @@ EOF</userinput></screen>
<para>To determine the local time zone, run the following script:</para>
-<screen><userinput>tzselect</userinput></screen>
+<screen role="nodump"><userinput>tzselect</userinput></screen>
<para>After answering a few questions about the location, the script
will output the name of the time zone (e.g.,
diff --git a/chapter06/pwdgroup.xml b/chapter06/pwdgroup.xml
index caf6f7ffe..cb6bde3a7 100644
--- a/chapter06/pwdgroup.xml
+++ b/chapter06/pwdgroup.xml
@@ -67,7 +67,7 @@ linkend="chapter-temporary-tools"/> and the
files have been created, user name and group name resolution will now
work.</para>
-<screen><userinput>exec /tools/bin/bash --login +h</userinput></screen>
+<screen role="nodump"><userinput>exec /tools/bin/bash --login +h</userinput></screen>
<para>Note the use of the <parameter>+h</parameter> directive. This tells
<command>bash</command> not to use its internal path hashing. Without this
diff --git a/chapter06/shadow.xml b/chapter06/shadow.xml
index 337862919..6801c1166 100644
--- a/chapter06/shadow.xml
+++ b/chapter06/shadow.xml
@@ -132,7 +132,7 @@ command.</para>
<para>Choose a password for user <emphasis>root</emphasis> and set it
by running:</para>
-<screen><userinput>passwd root</userinput></screen>
+<screen role="nodump"><userinput>passwd root</userinput></screen>
</sect2>
diff --git a/chapter06/strippingagain.xml b/chapter06/strippingagain.xml
index f6c5fa2ec..7a4090fd3 100644
--- a/chapter06/strippingagain.xml
+++ b/chapter06/strippingagain.xml
@@ -25,11 +25,11 @@ unsure whether the user entered chroot with the command given in
<xref linkend="ch-system-chroot" role=","/> first exit from
chroot:</para>
-<screen><userinput>logout</userinput></screen>
+<screen role="nodump"><userinput>logout</userinput></screen>
<para>Then reenter it with:</para>
-<screen><userinput>chroot $LFS /tools/bin/env -i \
+<screen role="nodump"><userinput>chroot $LFS /tools/bin/env -i \
HOME=/root TERM=$TERM PS1='\u:\w\$ ' \
PATH=/bin:/usr/bin:/sbin:/usr/sbin \
/tools/bin/bash --login</userinput></screen>
diff --git a/chapter06/texinfo.xml b/chapter06/texinfo.xml
index 07514010e..cbb9fb409 100644
--- a/chapter06/texinfo.xml
+++ b/chapter06/texinfo.xml
@@ -73,7 +73,7 @@ system. If the <filename>/usr/share/info/dir</filename> file ever
needs to be recreated, the following optional commands will accomplish
the task:</para>
-<screen><userinput>cd /usr/share/info
+<screen role="nodump"><userinput>cd /usr/share/info
rm dir
for f in *
do install-info $f dir 2&gt;/dev/null
diff --git a/chapter06/vim.xml b/chapter06/vim.xml
index f34726552..9e9c41052 100644
--- a/chapter06/vim.xml
+++ b/chapter06/vim.xml
@@ -134,7 +134,7 @@ these programs.</para>
<para>Documentation for other available options can be obtained by
running the following command:</para>
-<screen><userinput>vim -c ':options'</userinput></screen>
+<screen role="nodump"><userinput>vim -c ':options'</userinput></screen>
</sect2>
diff --git a/chapter07/console.xml b/chapter07/console.xml
index 218123f89..a8692c58b 100644
--- a/chapter07/console.xml
+++ b/chapter07/console.xml
@@ -40,7 +40,7 @@ EOF</userinput></screen>
character (accessible by pressing AltGr+E), the following settings are
correct:</para>
-<screen><userinput>cat &gt;/etc/sysconfig/console &lt;&lt;"EOF"
+<screen role="nodump"><userinput>cat &gt;/etc/sysconfig/console &lt;&lt;"EOF"
<literal>KEYMAP="es euro2"
FONT="lat9-16 -u iso01"</literal>
EOF</userinput></screen>
@@ -49,7 +49,7 @@ EOF</userinput></screen>
character set. If using ISO 8859-1 and, therefore, a pound sign
instead of Euro, the correct <envar>FONT</envar> line would be:</para>
-<screen><userinput>FONT="lat1-16"</userinput></screen></note>
+<screen role="nodump"><userinput>FONT="lat1-16"</userinput></screen></note>
<para>If the <envar>KEYMAP</envar> or <envar>FONT</envar> variable is not set, the
<command>console</command> initscript will not run the corresponding
@@ -61,14 +61,14 @@ applications. For example, Emacs displays its help (instead of erasing the
character before the cursor) when Backspace is pressed. To check if the keymap
in use is affected (this works only for i386 keymaps):</para>
-<screen><userinput>zgrep '\W14\W' <replaceable>[/path/to/your/keymap]</replaceable></userinput></screen>
+<screen role="nodump"><userinput>zgrep '\W14\W' <replaceable>[/path/to/your/keymap]</replaceable></userinput></screen>
<beginpage/>
<para>If the keycode 14 is Backspace instead of Delete, create the
following keymap snippet to fix this issue:</para>
-<screen><userinput>mkdir -p /etc/kbd &amp;&amp; cat &gt; /etc/kbd/bs-sends-del &lt;&lt;"EOF"
+<screen role="nodump"><userinput>mkdir -p /etc/kbd &amp;&amp; cat &gt; /etc/kbd/bs-sends-del &lt;&lt;"EOF"
<literal> keycode 14 = Delete Delete Delete Delete
alt keycode 14 = Meta_Delete
altgr alt keycode 14 = Meta_Delete
@@ -81,7 +81,7 @@ EOF</userinput></screen>
<para>Tell the <command>console</command> script to load this
snippet after the main keymap:</para>
-<screen><userinput>cat &gt;&gt;/etc/sysconfig/console &lt;&lt;"EOF"
+<screen role="nodump"><userinput>cat &gt;&gt;/etc/sysconfig/console &lt;&lt;"EOF"
<literal>KEYMAP_CORRECTIONS="/etc/kbd/bs-sends-del"</literal>
EOF</userinput></screen>
diff --git a/chapter07/hosts.xml b/chapter07/hosts.xml
index 30644cd34..f08dfab4e 100644
--- a/chapter07/hosts.xml
+++ b/chapter07/hosts.xml
@@ -62,7 +62,7 @@ machine will be connected to an existing network).</para>
<para>If a network card is not going to be configured, create the
<filename>/etc/hosts</filename> file by running:</para>
-<screen><userinput>cat &gt; /etc/hosts &lt;&lt; "EOF"
+<screen role="nodump"><userinput>cat &gt; /etc/hosts &lt;&lt; "EOF"
<literal># Begin /etc/hosts (no network card version)
127.0.0.1 <replaceable>[&lt;HOSTNAME&gt;.example.org]</replaceable> <replaceable>[HOSTNAME]</replaceable> localhost
diff --git a/chapter07/profile.xml b/chapter07/profile.xml
index 98faa3457..5748762cb 100644
--- a/chapter07/profile.xml
+++ b/chapter07/profile.xml
@@ -65,7 +65,7 @@ canonical charmap for your chosen locale.</para>
<para>The list of all locales supported by Glibc can be obtained by running
the following command:</para>
-<screen><userinput>locale -a</userinput></screen>
+<screen role="nodump"><userinput>locale -a</userinput></screen>
<para>Locales can have a number of synonyms, e.g. <quote>ISO-8859-1</quote> is
also referred to as <quote>iso8859-1</quote> and <quote>iso88591</quote>.
@@ -76,7 +76,7 @@ canonical name, run the following command, where
<command>locale -a</command> for your preferred locale
(<quote>en_GB.iso88591</quote> in our example).</para>
-<screen><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>
diff --git a/chapter07/udev.xml b/chapter07/udev.xml
index 667baea83..6f441e7a7 100644
--- a/chapter07/udev.xml
+++ b/chapter07/udev.xml
@@ -181,7 +181,7 @@ handled in one of two ways:</para>
<command>modprobe</command> command <quote>when loading this module,
also load this other module, at the same time.</quote> For example:</para>
-<screen><userinput>install snd-pcm modprobe -i snd-pcm ; modprobe \
+<screen role="nodump"><userinput>install snd-pcm modprobe -i snd-pcm ; modprobe \
snd-pcm-oss ; true</userinput></screen>
<para>This will cause the system to load both the
diff --git a/chapter08/kernel.xml b/chapter08/kernel.xml
index ca0cbdf0b..14443ec4a 100644
--- a/chapter08/kernel.xml
+++ b/chapter08/kernel.xml
@@ -45,7 +45,7 @@ un-tarring.</para>
<para>If, in <xref linkend="ch-scripts-console" role=","/> it was decided to
compile the keymap into the kernel, issue the command below:</para>
-<screen><userinput>loadkeys -m /usr/share/kbd/keymaps/<replaceable>[path to keymap]</replaceable> &gt; \
+<screen role="nodump"><userinput>loadkeys -m /usr/share/kbd/keymaps/<replaceable>[path to keymap]</replaceable> &gt; \
drivers/char/defkeymap.c</userinput></screen>
<para>For example, if using a Dutch keyboard, use
@@ -58,7 +58,7 @@ url="&blfs-root;view/svn/longindex.html#kernel-config-index"><phrase
condition="pdf">&blfs-root;view/svn/
longindex.html#kernel-config-index</phrase></ulink>:</para>
-<screen><userinput>make menuconfig</userinput></screen>
+<screen role="nodump"><userinput>make menuconfig</userinput></screen>
<para>Alternatively, <command>make oldconfig</command> may be more appropriate in some
situations. See the <filename>README</filename> file for more
diff --git a/chapter09/reboot.xml b/chapter09/reboot.xml
index 31d6b797d..d2def87db 100644
--- a/chapter09/reboot.xml
+++ b/chapter09/reboot.xml
@@ -42,13 +42,13 @@ umount $LFS/sys</userinput></screen>
<para>If multiple partitions were created, unmount the other
partitions before unmounting the main one, like this:</para>
-<screen><userinput>umount $LFS/usr
+<screen role="nodump"><userinput>umount $LFS/usr
umount $LFS/home
umount $LFS</userinput></screen>
<para>Now, reboot the system with:</para>
-<screen><userinput>shutdown -r now</userinput></screen>
+<screen role="nodump"><userinput>shutdown -r now</userinput></screen>
<para>Assuming the GRUB boot loader was set up as outlined earlier, the menu
is set to boot <emphasis>LFS &version;</emphasis> automatically.</para>
diff --git a/prologue/hostreqs.xml b/prologue/hostreqs.xml
index 57895f3ff..487fcd54b 100644
--- a/prologue/hostreqs.xml
+++ b/prologue/hostreqs.xml
@@ -20,7 +20,7 @@ must be sure that all critical system devices get created properly.</para>
<para>In order to determine whether the host kernel meets the
requirements outlined above, run the following command:</para>
-<screen><userinput>cat /proc/version</userinput></screen>
+<screen role="nodump"><userinput>cat /proc/version</userinput></screen>
<para>This will produce output similar to:</para>
diff --git a/prologue/typography.xml b/prologue/typography.xml
index 84ff4ca16..b101817fe 100644
--- a/prologue/typography.xml
+++ b/prologue/typography.xml
@@ -12,7 +12,7 @@ conventions used throughout this book. This section contains some
examples of the typographical format found throughout Linux From
Scratch.</para>
-<screen><userinput>./configure --prefix=/usr</userinput></screen>
+<screen role="nodump"><userinput>./configure --prefix=/usr</userinput></screen>
<para>This form of text is designed to be typed exactly as seen unless
otherwise noted in the surrounding text. It is also used in the
@@ -37,7 +37,7 @@ purpose is to emphasize important points or items.</para>
community and to external pages. It includes HOWTOs, download locations,
and websites.</para>
-<screen><userinput>cat &gt; $LFS/etc/group &lt;&lt; "EOF"
+<screen role="nodump"><userinput>cat &gt; $LFS/etc/group &lt;&lt; "EOF"
<literal>root:x:0:
bin:x:1:
......</literal>