From 3a788f0c7908aaf9aa115ec6e2cba3217b67fad5 Mon Sep 17 00:00:00 2001 From: Greg Schafer Date: Wed, 24 Sep 2003 23:48:45 +0000 Subject: 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 --- chapter06/config-glibc.xml | 8 ++++---- chapter06/makedev-inst.xml | 14 +++++++++++++- 2 files changed, 17 insertions(+), 5 deletions(-) (limited to 'chapter06') 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 @@ We need to create the /etc/nsswitch.conf 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. Create a new file /etc/nsswitch.conf by running the @@ -32,19 +32,19 @@ netgroup: db files # End /etc/nsswitch.conf EOF -To find out what timezone you're in, run the following script: +To find out what time zone you're in, run the following script: tzselect When you've answered a few questions about your location, the script will -output the name of your timezone, something like EST5EDT +output the name of your time zone, something like EST5EDT or Canada/Eastern. Then create the /etc/localtime file by running: cp --remove-destination /usr/share/zoneinfo/Canada/Eastern /etc/localtime Of course, instead of Canada/Eastern, fill in -the name of the timezone that the tzselect script +the name of the time zone that the tzselect script gave you. 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 @@ Please note that unpacking the MAKEDEV-&makedev-version;.bz2 file doesn't create a directory for you to cd into, as -the file contains one shell script. +the file only contains a single shell script. Install the MAKEDEV script: @@ -17,6 +17,18 @@ chmod 754 /dev/MAKEDEV cd /dev ./MAKEDEV -v generic-nopty +The meaning of the option: + + +-v generic-nopty: The +-v parameter tells the MAKEDEV script to run in verbose +mode. The generic-nopty 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 devpts file +system. + + If a device you need is missing, try running ./MAKEDEV -v <device>. Alternatively, you may create devices via the mknod program. Please refer to -- cgit v1.2.3-54-g00ecf