source: postlfs/config/autofs.xml@ 239e8ca

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 239e8ca was 239e8ca, checked in by Larry Lawrence <larry@…>, 20 years ago

Fixing MD5 labels

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

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