Automate Mounting of Removable File Systems
+
+Autofs
@@ -37,10 +35,14 @@
Package information
-Download (HTTP):
-Download (FTP):
+Download (HTTP):
+
+Download (FTP):
+Download MD5 sum: &autofs-md5sum;Download size: &autofs-size;
-Estimated disk space required: &autofs-buildsize;
-Estimated build time: &autofs-time;
+Estimated disk space required:
+&autofs-buildsize;
+Estimated build time:
+&autofs-time;
@@ -66,7 +68,4 @@
Installation of autofs
-
-Install autofs by running the following
-commands:Verify that kernel support has been compiled in or built as
@@ -79,4 +78,7 @@
Recompile and install the new kernel, if necessary.
+Install autofs by running the following
+commands:
+
./configure --prefix=/ --mandir=/usr/share/man &&
make &&
@@ -97,9 +99,19 @@
Configuring autofs
-Config files
+Config files/etc/sysconfig/autofs.conf,
/etc/auto.master,
/etc/auto.misc, and
/etc/auto.net
+
+/etc/sysconfig/autofs.conf
+
+
+/etc/auto.master
+
+/etc/auto.misc
+
+/etc/auto.net
@@ -137,8 +149,11 @@
man 5 autofs command.
-Install the /etc/rc.d/init.d/autofs mount
-script and /etc/sysconfig/autofs.conf support file
+Install the
+/etc/rc.d/init.d/autofs mount script and
+/etc/sysconfig/autofs.conf support file
included with the
package.
+
+autofsmake install-autofs
@@ -157,15 +172,26 @@
Contents
-The autofs package contains
-automount and autofs library
-modules.
-
-
-
-Description
-
-automount
-automount is the daemon that performs the
-mounting when a request is made for the device.
+
+Installed Program
+Installed Libraries
+
+automount
+autofs modules
+
+
+
+
+Short Descriptions
+
+
+
+automount
+is the daemon that performs the mounting when a request is
+made for the device.
+
+automount
+
+
+
Index: postlfs/config/bootdisk.xml
===================================================================
--- postlfs/config/bootdisk.xml (revision a3045a11f554e5145c6b8609f7d0daad9b399433)
+++ postlfs/config/bootdisk.xml (revision 0290a02365b9e12a17985fc03643c2b851552c29)
@@ -6,5 +6,5 @@
]>
-
+$LastChangedBy$
Index: postlfs/config/compressdoc.xml
===================================================================
--- postlfs/config/compressdoc.xml (revision a3045a11f554e5145c6b8609f7d0daad9b399433)
+++ postlfs/config/compressdoc.xml (revision 0290a02365b9e12a17985fc03643c2b851552c29)
@@ -6,5 +6,5 @@
]>
-
+$LastChangedBy$
Index: postlfs/config/config.xml
===================================================================
--- postlfs/config/config.xml (revision a3045a11f554e5145c6b8609f7d0daad9b399433)
+++ postlfs/config/config.xml (revision 0290a02365b9e12a17985fc03643c2b851552c29)
@@ -6,5 +6,5 @@
]>
-
+After LFS Configuration Issues
@@ -23,5 +23,5 @@
of editing the file. The advantage of text-only configuration is that
you can edit parameters using your favorite text editor, whether that
-be vim, emacs or anything else.
+be vim, emacs or anything else.
The first task is making a recovery diskette because it's the most
@@ -29,13 +29,12 @@
new users, in "Configuring for Adding Users", because this
can affect the choices you make in the two subsequent topics -
-"The Bash Shell Startup Files" and
-"/etc/vimrc, ~/.vimrc".
-
+"The Bash Shell Startup Files" and "The /etc/vimrc and ~/.vimrc"
+Files.
- The remaining topics, "/etc/issue (Customizing your logon)", "/etc/shells",
-"Random number generation", "Man page issues" and "Info page issues" are
-then addressed, in that order. They don't have much interaction with the
-other topics in this chapter.
-
+ The remaining topics, "Customizing your Logon with /etc/issue",
+"The /etc/shells File", "Random number generation", "Compressing man and info
+pages" page issues", "Automate Mounting of Removable File Systems" and
+"Configuring for Network Filesystems" are then addressed, in that order. They
+don't have much interaction with the other topics in this chapter.
Index: postlfs/config/etcshells.xml
===================================================================
--- postlfs/config/etcshells.xml (revision a3045a11f554e5145c6b8609f7d0daad9b399433)
+++ postlfs/config/etcshells.xml (revision 0290a02365b9e12a17985fc03643c2b851552c29)
@@ -6,5 +6,5 @@
]>
-
+$LastChangedBy$
@@ -12,5 +12,8 @@
-/etc/shells
+The /etc/shells File
+
+/etc/shells
+The shells file contains a list of
@@ -25,8 +28,8 @@
It is a requirement for applications such as
-GDM which does not populate the face browser if it
-can't find /etc/shells or FTP
-daemons which traditionally disallow access to users with shells not
-included in this file.
+GDM which does not populate the
+face browser if it can't find /etc/shells or
+FTP daemons which traditionally disallow access to users
+with shells not included in this file.cat > /etc/shells << "EOF"
Index: postlfs/config/inputrc.xml
===================================================================
--- postlfs/config/inputrc.xml (revision a3045a11f554e5145c6b8609f7d0daad9b399433)
+++ postlfs/config/inputrc.xml (revision 0290a02365b9e12a17985fc03643c2b851552c29)
@@ -6,5 +6,5 @@
]>
-
+$LastChangedBy$
@@ -13,4 +13,8 @@
/etc/inputrc
+
+/etc/inputrc
+
+~/.inputrcInputrc deals with the mapping of the keyboard for
@@ -36,9 +40,7 @@
directory for use with new users.
-
-Below is a base /etc/inputrc along with
+Below is a base /etc/inputrc along with
comments to explain what the various options do. Note that comments
-can not be on the same line as commands.
-
+can not be on the same line as commands.If you will create an .inputrc in
@@ -48,8 +50,7 @@
file to /etc/inputrc and the home directory
of any user already existing in the system, including root, that needs
-a private version of the file. Be sure to use the parameter
-of cp to maintain permissions and be sure to change owner and group
-appropriately.
-
+a private version of the file. Be sure to use the
+parameter of cp to maintain permissions and be sure to
+change owner and group appropriately.
cat > /etc/inputrc << "EOF"
Index: postlfs/config/logon.xml
===================================================================
--- postlfs/config/logon.xml (revision a3045a11f554e5145c6b8609f7d0daad9b399433)
+++ postlfs/config/logon.xml (revision 0290a02365b9e12a17985fc03643c2b851552c29)
@@ -6,5 +6,5 @@
]>
-
+$LastChangedBy$
@@ -12,10 +12,11 @@
-/etc/issue (Customizing your logon)
+Customizing your Logon with /etc/issue
+
+/etc/issueWhen you first boot up your new LFS system, the logon
-screen will
-be nice and plain (as it should be in a bare-bones system). Many people
-however, will want their system to display some information in the logon
+screen will be nice and plain (as it should be in a bare-bones system). Many
+people however, will want their system to display some information in the logon
message. This can be accomplished using the
file /etc/issue.
@@ -31,6 +32,7 @@
One of the most common things which people want to do is to clear
the screen at each logon. The easiest way of doing that is to put a
-"clear" escape-sequence into /etc/issue. A simple way of doing
-this is to do clear > /etc/issue.
+"clear" escape-sequence into /etc/issue. A simple way of
+doing this is to do clear >
+/etc/issue.
This will insert the relevant escape code into the start of the
/etc/issue file. Note that if you do this, when
Index: postlfs/config/netfs.xml
===================================================================
--- postlfs/config/netfs.xml (revision a3045a11f554e5145c6b8609f7d0daad9b399433)
+++ postlfs/config/netfs.xml (revision 0290a02365b9e12a17985fc03643c2b851552c29)
@@ -6,5 +6,5 @@
]>
-
+$LastChangedBy$
@@ -14,5 +14,5 @@
Configuring for Network Filesystems
-netfs
+netfsWhile LFS is capable of mounting network file
Index: postlfs/config/random.xml
===================================================================
--- postlfs/config/random.xml (revision a3045a11f554e5145c6b8609f7d0daad9b399433)
+++ postlfs/config/random.xml (revision 0290a02365b9e12a17985fc03643c2b851552c29)
@@ -6,5 +6,5 @@
]>
-
+$LastChangedBy$
@@ -13,4 +13,6 @@
Random number generation
+
+randomThe Linux kernel supplies a random number generator which is accessed
Index: postlfs/config/skel.xml
===================================================================
--- postlfs/config/skel.xml (revision a3045a11f554e5145c6b8609f7d0daad9b399433)
+++ postlfs/config/skel.xml (revision 0290a02365b9e12a17985fc03643c2b851552c29)
@@ -6,5 +6,5 @@
]>
-
+$LastChangedBy$
@@ -13,16 +13,22 @@
Configuring for Adding Users
+
+/etc/skel/*
+
+/etc/default/useradd
+Together, the /usr/sbin/useradd command and
-/etc/skel directory (both are easy to setup and use)
-provide a way to assure new users are added on your LFS
-system with the same beginning settings for things like PATH,
-keyboard processing and environmental variables. Using these two facilities
-makes it easier to assure this initial state for each new user.
+/etc/skel directory (both are easy to
+setup and use) provide a way to assure new users are added on your
+LFS system with the same beginning settings for things
+like PATH, keyboard processing and environmental variables.
+Using these two facilities makes it easier to assure this initial state for
+each new user.
-The /etc/skel directory holds copies of various
-initialization and other files that may be copied to the new user's home
-directory when the /usr/sbin/useradd program adds the new
-user.
+The /etc/skel directory holds
+copies of various initialization and other files that may be copied to the
+new user's home directory when the /usr/sbin/useradd
+program adds the new user.Useradd
@@ -31,6 +37,6 @@
default values kept in /etc/default/useradd,
if it exists. If the file does not exist, then it uses some internal
-defaults. You can see the default values by running /usr/sbin/useradd
--D.
+defaults. You can see the default values by running
+/usr/sbin/useradd -D.To change these values to something new, create a base
@@ -64,15 +70,17 @@
/etc/skel
-To get started, create an /etc/skel directory
-and make sure it is writable only by the system administrator, usually
-root. Creating the directory as root is the best way to go.
+To get started, create an
+/etc/skel directory and make sure it is
+writable only by the system administrator, usually root. Creating the
+directory as root is the best way to go.The mode of any files from this part of the book that you put in
-/etc/skel should be writable only by the owner.
-Also, since there is no telling what kind of sensitive information a
-user may eventually place in their copy of these files, you should
+/etc/skel should be writable only by
+the owner. Also, since there is no telling what kind of sensitive information
+a user may eventually place in their copy of these files, you should
make them unreadable by "group" and "other".
-You can also put other files in /etc/skel and
+You can also put other files in
+/etc/skel and
different permissions may be needed for them.
@@ -93,12 +101,14 @@
You will run a slightly modified set of commands for files which
-are placed in /etc/skel. Each section will remind
-you of this. In brief, the book's commands have been written for files
-not added to /etc/skel and
-just send the results to the user's home directory. If the file is going
-to be in /etc/skel, change the book's command(s) to
-send output there instead and then just copy the file from
-/etc/skel to the appropriate directories, like
-/etc, ~ or the home directory
+are placed in /etc/skel. Each section
+will remind you of this. In brief, the book's commands have been written for
+files not added to
+/etc/skel and just send the results to
+the user's home directory. If the file is going to be in
+/etc/skel, change the book's command(s)
+to send output there instead and then just copy the file from
+/etc/skel to the appropriate
+directories, like /etc,
+~ or the home directory
of any other user already in the system.
@@ -108,6 +118,6 @@
the parameter, which tells
useradd to create the user's home directory and
-copy files from /etc/skel (can be overridden) to
-the new user's home directory. For example:
+copy files from /etc/skel (can be
+overridden) to the new user's home directory. For example:useradd -m jwrober
Index: postlfs/config/vimrc.xml
===================================================================
--- postlfs/config/vimrc.xml (revision a3045a11f554e5145c6b8609f7d0daad9b399433)
+++ postlfs/config/vimrc.xml (revision 0290a02365b9e12a17985fc03643c2b851552c29)
@@ -6,5 +6,5 @@
]>
-
+$LastChangedBy$
@@ -12,14 +12,18 @@
-/etc/vimrc, ~/.vimrc
+The /etc/vimrc and ~/.vimrc Files
+
+/etc/vimrc
+
+~/.vimrc
-The LFS book installs vim
+The LFS book installs Vim
as its text editor. At this point we should state that there are a
lot of different editing applications out there including
-emacs, nano,
-joe and many more. Anyone who has been around the
+Emacs, nano,
+Joe and many more. Anyone who has been around the
Internet (especially usenet) for a short time will certainly have observed at
-least one flame war, usually involving vim and
-emacs users!
+least one flame war, usually involving Vim and
+Emacs users!The LFS book gives a basic vimrc
@@ -30,6 +34,6 @@
only true if you compiled vim using
LFS-3.1 onwards. Prior to this,
-the global vimrc was /usr/share/vim/vimrc
-.
+the global vimrc was
+/usr/share/vim/vimrc.
Here is a slightly expanded .vimrc that you can
@@ -39,5 +43,6 @@
the file from /etc/skel/.vimrc to the home directory of
users already on the system, like root. Be sure to set permissions, owner, and
-group if you do copy anything directly from /etc/skel.
+group if you do copy anything directly from
+/etc/skel.
" Begin .vimrc
@@ -49,13 +54,13 @@
" End .vimrc
-A FAQ on the lfs mailing lists regards the
-comment tags in vimrc. Note that they are " instead
-of the more usual # or //. This is correct, the syntax for vimrc
- is slightly unusual.
+A FAQ on the LFS mailing lists
+regards the comment tags in vimrc. Note that they are "
+instead of the more usual # or //. This is correct, the syntax for
+vimrc is slightly unusual.We'll run through a quick explanation of what each of the
options in this example file means here:
+
-
-: This makes vim
- show the current row and column at the bottom right of
+: This makes
+vim show the current row and column at the bottom right of
the screen.
-
-
@@ -92,6 +95,6 @@
options can be found by reading the help inside vim itself.
Do this by typing : in
-vim to get the general help, or by typing :
- to view
+vim to get the general help, or by typing
+: to view
the User Manual Table of Contents.