aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06
diff options
context:
space:
mode:
authorGreg Schafer <greg@linuxfromscratch.org>2003-09-24 23:48:45 +0000
committerGreg Schafer <greg@linuxfromscratch.org>2003-09-24 23:48:45 +0000
commit3a788f0c7908aaf9aa115ec6e2cba3217b67fad5 (patch)
tree00ca4c395161efd86a1874f1c71f0f91d80bf898 /chapter06
parent978d0bffc413b67ead9db2d2816b916cf3d502ca (diff)
Next batch of fixes for Bug 675 - missing command descriptions.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@2880 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06')
-rw-r--r--chapter06/config-glibc.xml8
-rw-r--r--chapter06/makedev-inst.xml14
2 files changed, 17 insertions, 5 deletions
diff --git a/chapter06/config-glibc.xml b/chapter06/config-glibc.xml
index 3ffa9dc1a..d36ab4af8 100644
--- a/chapter06/config-glibc.xml
+++ b/chapter06/config-glibc.xml
@@ -4,7 +4,7 @@
<para>We need to create the <filename>/etc/nsswitch.conf</filename> file,
because, although Glibc provides defaults when this file is missing or corrupt,
-the Glibc defaults don't work well with networking. Also, our timezone needs
+the Glibc defaults don't work well with networking. Also, our time zone needs
to be set up.</para>
<para>Create a new file <filename>/etc/nsswitch.conf</filename> by running the
@@ -32,19 +32,19 @@ netgroup: db files
# End /etc/nsswitch.conf
<userinput>EOF</userinput></screen></para>
-<para>To find out what timezone you're in, run the following script:</para>
+<para>To find out what time zone you're in, run the following script:</para>
<para><screen><userinput>tzselect</userinput></screen></para>
<para>When you've answered a few questions about your location, the script will
-output the name of your timezone, something like <emphasis>EST5EDT</emphasis>
+output the name of your time zone, something like <emphasis>EST5EDT</emphasis>
or <emphasis>Canada/Eastern</emphasis>. Then create the
<filename>/etc/localtime</filename> file by running:</para>
<para><screen><userinput>cp --remove-destination /usr/share/zoneinfo/Canada/Eastern /etc/localtime </userinput></screen></para>
<para>Of course, instead of <emphasis>Canada/Eastern</emphasis>, fill in
-the name of the timezone that the <userinput>tzselect</userinput> script
+the name of the time zone that the <userinput>tzselect</userinput> script
gave you.</para>
</sect2>
diff --git a/chapter06/makedev-inst.xml b/chapter06/makedev-inst.xml
index cac1d0fea..571029432 100644
--- a/chapter06/makedev-inst.xml
+++ b/chapter06/makedev-inst.xml
@@ -5,7 +5,7 @@
<para>Please note that unpacking the MAKEDEV-&makedev-version;.bz2 file
doesn't create a directory for you to <userinput>cd</userinput> into, as
-the file contains one shell script.</para>
+the file only contains a single shell script.</para>
<para>Install the MAKEDEV script:</para>
@@ -17,6 +17,18 @@ chmod 754 /dev/MAKEDEV</userinput></screen></para>
<para><screen><userinput>cd /dev
./MAKEDEV -v generic-nopty</userinput></screen></para>
+<para>The meaning of the option:</para>
+
+<itemizedlist>
+<listitem><para><userinput>-v generic-nopty</userinput>: The
+<userinput>-v</userinput> parameter tells the MAKEDEV script to run in verbose
+mode. The <userinput>generic-nopty</userinput> parameter instructs MAKEDEV to
+create a generic selection of commonly used device special files, except for the
+ptyXX and ttyXX range of files. We don't need those files because we are going
+to use Unix98 PTYs via the <emphasis>devpts</emphasis> file
+system.</para></listitem>
+</itemizedlist>
+
<para>If a device you need is missing, try running
<userinput>./MAKEDEV -v &lt;device&gt;</userinput>. Alternatively, you may
create devices via the <emphasis>mknod</emphasis> program. Please refer to