r2831 - in trunk/BOOK: . general/graphlib introduction/welcome postlfs/config

larry at linuxfromscratch.org larry at linuxfromscratch.org
Mon Oct 18 13:26:06 PDT 2004


Author: larry
Date: 2004-10-18 14:26:04 -0600 (Mon, 18 Oct 2004)
New Revision: 2831

Added:
   trunk/BOOK/postlfs/config/autofs.xml
Modified:
   trunk/BOOK/general.ent
   trunk/BOOK/general/graphlib/fontconfig.xml
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/postlfs/config/config.xml
Log:
Added automount

Modified: trunk/BOOK/general/graphlib/fontconfig.xml
===================================================================
--- trunk/BOOK/general/graphlib/fontconfig.xml	2004-10-18 16:15:14 UTC (rev 2830)
+++ trunk/BOOK/general/graphlib/fontconfig.xml	2004-10-18 20:26:04 UTC (rev 2831)
@@ -5,7 +5,7 @@
   %general-entities;
 
 <!ENTITY fontconfig-download-http "http://freedesktop.org/~fontconfig/release/fontconfig-&fontconfig-version;.tar.gz">
-<!ENTITY fontconfig-download-ftp "">
+<!ENTITY fontconfig-download-ftp " ">
 <!ENTITY fontconfig-size "747 KB">
 <!ENTITY fontconfig-buildsize "10 MB">
 <!ENTITY fontconfig-time "0.18 SBU">

Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent	2004-10-18 16:15:14 UTC (rev 2830)
+++ trunk/BOOK/general.ent	2004-10-18 20:26:04 UTC (rev 2831)
@@ -23,6 +23,9 @@
 <!ENTITY blfs-bootscripts-download    "&downloads-root;/blfs-bootscripts-&blfs-bootscripts-version;.tar.bz2">
                                      
 <!-- Part II -->                     
+<!-- Chapter 3 -->
+<!ENTITY autofs-version               "4.1.3">
+
 <!-- Chapter 4 -->                   
 <!ENTITY cracklib-version             "2.7">   
 <!ENTITY Linux_PAM-version            "0.77">  

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2004-10-18 16:15:14 UTC (rev 2830)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2004-10-18 20:26:04 UTC (rev 2831)
@@ -22,6 +22,9 @@
 
 <itemizedlist>
 
+<listitem><para>October 18th, 2004 [larry]: Added autofs-4.1.3 to
+postlfs/config.</para></listitem>
+
 <listitem><para>October 18th, 2004 [igor]: Updated to
 Fcron-2.9.5.</para></listitem>
 

Added: trunk/BOOK/postlfs/config/autofs.xml
===================================================================
--- trunk/BOOK/postlfs/config/autofs.xml	2004-10-18 16:15:14 UTC (rev 2830)
+++ trunk/BOOK/postlfs/config/autofs.xml	2004-10-18 20:26:04 UTC (rev 2831)
@@ -0,0 +1,174 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
+   "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+
+  <!-- Place this in the general.ent file
+  <!ENTITY template-version "">
+  -->
+
+  <!ENTITY autofs-download-http "http://ftp.kernel.org/pub/linux/daemons/autofs/v4/autofs-&autofs-version;.tar.bz2">
+  <!ENTITY autofs-download-ftp "ftp://ftp.kernel.org/pub/linux/daemons/autofs/v4/autofs-&autofs-version;.tar.bz2">
+  <!ENTITY autofs-md5sum        "f43a09e94c4bd512ec58ac06e9d42c60">
+  <!ENTITY autofs-size          "122 KB">
+  <!ENTITY autofs-buildsize     "1.4 MB">
+  <!ENTITY autofs-time          "0.01 SBU">
+]>
+
+<sect1 id="autofs" xreflabel="autofs-&autofs-version;">
+<sect1info>
+<othername>$LastChangedBy: randy $</othername>
+<date>$Date: 2004-10-15 13:14:25 -0500 (Fri, 15 Oct 2004) $</date>
+</sect1info>
+<?dbhtml filename="autofs.html"?>
+<title>Automate Mounting of Removable File Systems</title>
+
+<sect2>
+<title>Introduction to <application>autofs</application></title>
+
+<para>The <application>autofs</application> package contains userspace
+tools that work with the kernel to mount and un-mount removable file
+systems. This is useful for allowing users to mounting floppies, cdroms and 
+other removable storage devices without requiring the system
+administrator to mount the devices.  This may not be ideal for all 
+installations, so be aware of the risks before implementing this feature.</para>
+
+<sect3><title>Package information</title>
+<itemizedlist spacing="compact">
+<listitem><para>Download (HTTP): <ulink url="&autofs-download-http;"/></para></listitem>
+<listitem><para>Download (FTP): <ulink url="&autofs-download-ftp;"/></para></listitem>
+<listitem><para>MD5 sum: &autofs-md5sum;</para></listitem>
+<listitem><para>Download size: &autofs-size;</para></listitem>
+<listitem><para>Estimated disk space required: &autofs-buildsize;</para></listitem>
+<listitem><para>Estimated build time: &autofs-time;</para></listitem></itemizedlist>
+</sect3>
+
+<!-- <sect3><title>Additional downloads</title>
+<itemizedlist spacing="compact">
+<listitem><para>Required Patch: <ulink
+url="&patch-root;/template-&template-version;-patch_name-patch_version.patch"/></para>
+</listitem></itemizedlist>
+</sect3>
+
+<sect3><title><application>template</application> dependencies</title>
+<sect4><title>Required</title>
+<para><xref linkend="BLFS DEPENDENCY"/></para>
+</sect4>
+
+<sect4><title>Optional</title>
+<para><ulink url="http://www.some.url/">EXTERNAL DEPENDENCY</ulink></para>
+</sect4>
+</sect3> -->
+
+</sect2>
+
+<sect2>
+<title>Installation of <application>autofs</application></title>
+
+<para>Install <application>autofs</application> by running the following 
+commands:</para>
+
+<para>Verify that kernel support has been compiled in or built as
+modules in the following areas:
+<screen>File systems
+	Kernel automounter version 4 support	Y or M
+Network File Systems
+	NFS file system support			Y or M
+	SMB file system support			Y or M</screen>
+Recompile and install the new kernel, if necessary.</para>
+
+<screen><userinput><command>./configure --prefix=/ --mandir=/usr/share/man &&
+make &&
+make install &&
+rm /etc/rc.d/init.d/autofs</command></userinput></screen>
+
+</sect2>
+
+<sect2>
+<title>Command explanations</title>
+
+<para><command>rm /etc/rc.d/init.d/autofs</command>: This command
+removes the installed script which only works on specific distributions.</para>
+
+</sect2>
+
+<sect2>
+<title>Configuring <application>autofs</application></title>
+
+<sect3><title>Config files</title>
+<para><filename>/etc/sysconfig/autofs.conf</filename>,
+<filename>/etc/auto.master</filename>,
+<filename>/etc/auto.misc</filename>, and
+<filename>/etc/auto.net</filename></para>
+</sect3>
+
+<sect3><title>Configuration Information</title>
+
+<para>The installation process creates <filename>auto.master</filename>,
+<filename>auto.misc</filename> and <filename>auto.net</filename>. You
+will replace the <filename>auto.master</filename> with the following
+commands.
+
+<screen><userinput><command>mv /etc/auto.master /etc/auto.master.bak &&
+cat > /etc/auto.master << "EOF"</command>
+# Begin /etc/auto.master
+
+/media	/etc/auto.misc
+
+# End /etc/auto.master
+<command>EOF</command></userinput></screen></para>
+
+<note><para>This file mounts a new media directory over the one created by
+<acronym>LFS</acronym> and will therefore hide any mounts made by the
+<filename>fstab</filename> file into that directory.</para></note> 
+
+<para>While this package could be used to mount <acronym>NFS</acronym>
+shares and <acronym>SMB</acronym> shares, that feature is not configured
+in these instructions. <acronym>NFS</acronym> shares are covered on the
+next page.
+</para>
+
+<para>The <filename>auto.misc</filename> must be configured to your
+working hardware. The loaded configuration file should load your cdrom
+if <filename>/dev/cdrom</filename> is active or it can be edited to
+match your device setup and examples for floppies are available in the file 
+and easily activated. Documentation for this file is available using the
+<command>man 5 autofs</command> command.</para>
+
+<para>Install the <filename>/etc/rc.d/init.d/autofs</filename> mount
+script and <filename>/etc/sysconfig/autofs.conf</filename> support file
+included with the <xref linkend="intro-important-bootscripts"/>
+package.</para>
+
+<screen><userinput><command>make install-autofs</command></userinput></screen>
+
+<para>The time-out variable is set in
+<filename>/etc/sysconfig/autofs.conf</filename>. The installed file sets
+a default of 60 seconds of inactivity before unmounting the device.  A
+much shorter time may be necessary to protect buffer writing to a
+floppy if users tend to remove the media prior to the timeout
+setting.</para>
+</sect3>
+
+</sect2>
+
+<sect2>
+<title>Contents</title>
+
+<para>The <application>autofs</application> package contains 
+<command>automount</command> and <filename>autofs</filename> library
+modules.</para>
+
+</sect2>
+
+<sect2><title>Description</title>
+
+<sect3><title>automount</title>
+<para><command>automount</command> is the daemon that performs the
+mounting when a request is made for the device.</para></sect3>
+
+</sect2>
+
+</sect1>
+

Modified: trunk/BOOK/postlfs/config/config.xml
===================================================================
--- trunk/BOOK/postlfs/config/config.xml	2004-10-18 16:15:14 UTC (rev 2830)
+++ trunk/BOOK/postlfs/config/config.xml	2004-10-18 20:26:04 UTC (rev 2831)
@@ -47,6 +47,7 @@
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="etcshells.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="random.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="compressdoc.xml"/>
+<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="autofs.xml"/>
 <xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="netfs.xml"/>
 
 




More information about the blfs-book mailing list