aboutsummaryrefslogtreecommitdiffstats
path: root/chapter02
diff options
context:
space:
mode:
authorDJ Lucas <dj@linuxfromscratch.org>2015-12-31 09:09:13 +0000
committerDJ Lucas <dj@linuxfromscratch.org>2015-12-31 09:09:13 +0000
commit131c90740b53a372a7207a4966356d7f95bc83f3 (patch)
tree9e9dafc8f074d3eb07ff69fb4739328dadf86d5e /chapter02
parent6eb40d43ad5c4c524e8a6b57965fa9265c9ea508 (diff)
Sync with trunk r10891, update to udev-1.10.6, update to systemd-228.
git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/systemd@10982 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter02')
-rw-r--r--chapter02/aboutlfs.xml8
-rw-r--r--chapter02/creatingfilesystem.xml2
-rw-r--r--chapter02/mounting.xml2
3 files changed, 9 insertions, 3 deletions
diff --git a/chapter02/aboutlfs.xml b/chapter02/aboutlfs.xml
index fe8a97902..3965ab889 100644
--- a/chapter02/aboutlfs.xml
+++ b/chapter02/aboutlfs.xml
@@ -28,11 +28,13 @@
<quote>/mnt/lfs</quote> (or whatever the variable was set to) when it
processes the command line.</para>
+ <caution>
<para>Do not forget to check that <envar>LFS</envar> is set whenever
you leave and reenter the current working environment (such as when doing a
<command>su</command> to <systemitem class="username">root</systemitem> or
another user). Check that the <envar>LFS</envar> variable is set up
properly with:</para>
+ </caution>
<screen role="nodump"><userinput>echo $LFS</userinput></screen>
@@ -45,6 +47,10 @@
<note><para>One way to ensure that the <envar>LFS</envar> variable is always
set is to edit the <filename>.bash_profile</filename> file in both your
personal home directory and in <filename>/root/.bash_profile</filename> and
- enter the export command above. </para></note>
+ enter the export command above. In addition, the shell specified in the
+ <filename>/etc/passwd</filename> file for all users that need the
+ <envar>LFS</envar> variable needs to be bash to ensure that the
+ <filename>/root/.bash_profile</filename> file is incorporated as a part of
+ the login process.</para></note>
</sect1>
diff --git a/chapter02/creatingfilesystem.xml b/chapter02/creatingfilesystem.xml
index 75c81b227..22a094728 100644
--- a/chapter02/creatingfilesystem.xml
+++ b/chapter02/creatingfilesystem.xml
@@ -41,7 +41,7 @@
</varlistentry>
</variablelist>
- <para>Other file sytems, including FAT32, NTFS, ReiserFS, JFS, and XFS are
+ <para>Other file systems, including FAT32, NTFS, ReiserFS, JFS, and XFS are
useful for specialized purposes. More information about these file systems
can be found at <ulink
url="http://en.wikipedia.org/wiki/Comparison_of_file_systems"/>.</para>
diff --git a/chapter02/mounting.xml b/chapter02/mounting.xml
index 873896384..4993f6ab8 100644
--- a/chapter02/mounting.xml
+++ b/chapter02/mounting.xml
@@ -14,7 +14,7 @@
be made accessible. In order to do this, the partition needs to be
mounted at a chosen mount point. For the purposes of this book, it is
assumed that the file system is mounted under the directory specified by the
- <envar>LFS</envar> envronment varibale as described in the previous section.
+ <envar>LFS</envar> envronment variable as described in the previous section.
</para>
<para>Create the mount point and mount the LFS file system by running:</para>