source: postlfs/config/autofs.xml@ 0290a023

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 6.0 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gimp3 gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 0290a023 was 0290a023, checked in by Randy McMurchy <randy@…>, 20 years ago

Indexed configuration files and bootscripts in the 'After LFS Configuration Issues' section

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3283 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 7.0 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
3 "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY autofs-download-http "http://ftp.kernel.org/pub/linux/daemons/autofs/v4/autofs-&autofs-version;.tar.bz2">
8 <!ENTITY autofs-download-ftp "ftp://ftp.kernel.org/pub/linux/daemons/autofs/v4/autofs-&autofs-version;.tar.bz2">
9 <!ENTITY autofs-md5sum "f43a09e94c4bd512ec58ac06e9d42c60">
10 <!ENTITY autofs-size "122 KB">
11 <!ENTITY autofs-buildsize "1.4 MB">
12 <!ENTITY autofs-time "0.01 SBU">
13]>
14
15<sect1 id="autofs" xreflabel="autofs-&autofs-version;">
16<sect1info>
17<othername>$LastChangedBy: randy $</othername>
18<date>$Date: 2004-10-15 13:14:25 -0500 (Fri, 15 Oct 2004) $</date>
19</sect1info>
20<?dbhtml filename="autofs.html"?>
21<title>Automate Mounting of Removable File Systems</title>
22<indexterm zone="autofs">
23<primary sortas="a-Autofs">Autofs</primary></indexterm>
24
25<sect2>
26<title>Introduction to <application>autofs</application></title>
27
28<para>The <application>autofs</application> package contains userspace
29tools that work with the kernel to mount and un-mount removable file
30systems. This is useful for allowing users to mount floppies, cdroms and
31other removable storage devices without requiring the system
32administrator to mount the devices. This may not be ideal for all
33installations, so be aware of the risks before implementing this feature.</para>
34
35<sect3><title>Package information</title>
36<itemizedlist spacing="compact">
37<listitem><para>Download (HTTP):
38<ulink url="&autofs-download-http;"/></para></listitem>
39<listitem><para>Download (FTP):
40<ulink url="&autofs-download-ftp;"/></para></listitem>
41<listitem><para>Download MD5 sum: &autofs-md5sum;</para></listitem>
42<listitem><para>Download size: &autofs-size;</para></listitem>
43<listitem><para>Estimated disk space required:
44&autofs-buildsize;</para></listitem>
45<listitem><para>Estimated build time:
46&autofs-time;</para></listitem></itemizedlist>
47</sect3>
48
49<!-- <sect3><title>Additional downloads</title>
50<itemizedlist spacing="compact">
51<listitem><para>Required Patch: <ulink
52url="&patch-root;/template-&template-version;-patch_name-patch_version.patch"/></para>
53</listitem></itemizedlist>
54</sect3>
55
56<sect3><title><application>template</application> dependencies</title>
57<sect4><title>Required</title>
58<para><xref linkend="BLFS DEPENDENCY"/></para>
59</sect4>
60
61<sect4><title>Optional</title>
62<para><ulink url="http://www.some.url/">EXTERNAL DEPENDENCY</ulink></para>
63</sect4>
64</sect3> -->
65
66</sect2>
67
68<sect2>
69<title>Installation of <application>autofs</application></title>
70
71<para>Verify that kernel support has been compiled in or built as
72modules in the following areas:
73<screen>File systems
74 Kernel automounter version 4 support Y or M
75Network File Systems
76 NFS file system support Y or M
77 SMB file system support Y or M</screen>
78Recompile and install the new kernel, if necessary.</para>
79
80<para>Install <application>autofs</application> by running the following
81commands:</para>
82
83<screen><userinput><command>./configure --prefix=/ --mandir=/usr/share/man &amp;&amp;
84make &amp;&amp;
85make install &amp;&amp;
86rm /etc/rc.d/init.d/autofs</command></userinput></screen>
87
88</sect2>
89
90<sect2>
91<title>Command explanations</title>
92
93<para><command>rm /etc/rc.d/init.d/autofs</command>: This command
94removes the installed script which only works on specific distributions.</para>
95
96</sect2>
97
98<sect2>
99<title>Configuring <application>autofs</application></title>
100
101<sect3 id="autofs-config"><title>Config files</title>
102<para><filename>/etc/sysconfig/autofs.conf</filename>,
103<filename>/etc/auto.master</filename>,
104<filename>/etc/auto.misc</filename>, and
105<filename>/etc/auto.net</filename></para>
106<indexterm zone="autofs autofs-config" >
107<primary
108sortas="e-etc-sysconfig-autofs.conf">/etc/sysconfig/autofs.conf</primary>
109</indexterm>
110<indexterm zone="autofs autofs-config">
111<primary sortas="e-etc-auto.master">/etc/auto.master</primary></indexterm>
112<indexterm zone="autofs autofs-config">
113<primary sortas="e-etc-auto.misc">/etc/auto.misc</primary></indexterm>
114<indexterm zone="autofs autofs-config">
115<primary sortas="e-etc-auto.net">/etc/auto.net</primary></indexterm>
116</sect3>
117
118<sect3><title>Configuration Information</title>
119
120<para>The installation process creates <filename>auto.master</filename>,
121<filename>auto.misc</filename> and <filename>auto.net</filename>. You
122will replace the <filename>auto.master</filename> with the following
123commands.
124
125<screen><userinput><command>mv /etc/auto.master /etc/auto.master.bak &amp;&amp;
126cat &gt; /etc/auto.master &lt;&lt; "EOF"</command>
127# Begin /etc/auto.master
128
129/media /etc/auto.misc
130
131# End /etc/auto.master
132<command>EOF</command></userinput></screen></para>
133
134<note><para>This file mounts a new media directory over the one created by
135<acronym>LFS</acronym> and will therefore hide any mounts made by the
136<filename>fstab</filename> file into that directory.</para></note>
137
138<para>While this package could be used to mount <acronym>NFS</acronym>
139shares and <acronym>SMB</acronym> shares, that feature is not configured
140in these instructions. <acronym>NFS</acronym> shares are covered on the
141next page.
142</para>
143
144<para>The <filename>auto.misc</filename> must be configured to your
145working hardware. The loaded configuration file should load your cdrom
146if <filename>/dev/cdrom</filename> is active or it can be edited to
147match your device setup and examples for floppies are available in the file
148and easily activated. Documentation for this file is available using the
149<command>man 5 autofs</command> command.</para>
150
151<para id="autofs-init">Install the
152<filename>/etc/rc.d/init.d/autofs</filename> mount script and
153<filename>/etc/sysconfig/autofs.conf</filename> support file
154included with the <xref linkend="intro-important-bootscripts"/>
155package.</para>
156<indexterm zone="autofs autofs-init">
157<primary sortas="f-autofs-init">autofs</primary></indexterm>
158
159<screen><userinput><command>make install-autofs</command></userinput></screen>
160
161<para>The time-out variable is set in
162<filename>/etc/sysconfig/autofs.conf</filename>. The installed file sets
163a default of 60 seconds of inactivity before unmounting the device. A
164much shorter time may be necessary to protect buffer writing to a
165floppy if users tend to remove the media prior to the timeout
166setting.</para>
167</sect3>
168
169</sect2>
170
171<sect2>
172<title>Contents</title>
173
174<segmentedlist>
175<segtitle>Installed Program</segtitle>
176<segtitle>Installed Libraries</segtitle>
177<seglistitem>
178<seg>automount</seg>
179<seg>autofs modules</seg>
180</seglistitem>
181</segmentedlist>
182
183<variablelist>
184<bridgehead renderas="sect3">Short Descriptions</bridgehead>
185<?dbfo list-presentation="list"?>
186
187<varlistentry id="automount">
188<term><command>automount</command></term>
189<listitem><para>is the daemon that performs the mounting when a request is
190made for the device.</para>
191<indexterm zone="autofs automount">
192<primary sortas="b-automount">automount</primary></indexterm>
193</listitem>
194</varlistentry>
195</variablelist>
196
197</sect2>
198
199</sect1>
200
Note: See TracBrowser for help on using the repository browser.