source: general/genlib/fam.xml@ 5254d12

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.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 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/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 5254d12 was 5254d12, checked in by Randy McMurchy <randy@…>, 18 years ago

Standardized the id tag name of the Bootscripts package

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

  • Property mode set to 100644
File size: 7.8 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY fam-download-http "http://gd.tuwien.ac.at/opsys/linux/gentoo/distfiles/fam-&fam-version;.tar.gz">
8 <!ENTITY fam-download-ftp "ftp://oss.sgi.com/projects/fam/download/stable/fam-&fam-version;.tar.gz">
9 <!ENTITY fam-md5sum "1bf3ae6c0c58d3201afc97c6a4834e39">
10 <!ENTITY fam-size "301 KB">
11 <!ENTITY fam-buildsize "7.7 MB">
12 <!ENTITY fam-time "0.26 SBU">
13]>
14
15<sect1 id="fam" xreflabel="FAM-&fam-version;">
16 <?dbhtml filename="fam.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 <keywordset>
22 <keyword role="package">fam-&fam-version;.tar</keyword>
23 <keyword role="ftpdir">fam</keyword>
24 </keywordset>
25 </sect1info>
26
27 <title>FAM-&fam-version;</title>
28
29 <indexterm zone="fam">
30 <primary sortas="a-FAM">FAM</primary>
31 </indexterm>
32
33 <sect2 role="package">
34 <title>Introduction to FAM</title>
35
36 <para>The <application>FAM</application> package contains a
37 File Alteration Monitor which is useful for notifying applications of
38 changes to the file system.</para>
39
40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
43 <para>Download (HTTP): <ulink url="&fam-download-http;"/></para>
44 </listitem>
45 <listitem>
46 <para>Download (FTP): <ulink url="&fam-download-ftp;"/></para>
47 </listitem>
48 <listitem>
49 <para>Download MD5 sum: &fam-md5sum;</para>
50 </listitem>
51 <listitem>
52 <para>Download size: &fam-size;</para>
53 </listitem>
54 <listitem>
55 <para>Estimated disk space required: &fam-buildsize;</para>
56 </listitem>
57 <listitem>
58 <para>Estimated build time: &fam-time;</para>
59 </listitem>
60 </itemizedlist>
61
62 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
63 <itemizedlist spacing='compact'>
64 <listitem>
65 <para>Dnotify patch (Recommended):
66 <ulink url="&patch-root;/fam-&fam-version;-dnotify-1.patch"/></para>
67 </listitem>
68 </itemizedlist>
69
70 <bridgehead renderas="sect3">FAM Dependencies</bridgehead>
71
72 <bridgehead renderas="sect4">Required</bridgehead>
73 <para role="required"><xref linkend="portmap"/></para>
74
75 </sect2>
76
77 <sect2 role="installation">
78 <title>Installation of FAM</title>
79
80 <para>Install <application>FAM</application> by running the
81 following commands:</para>
82
83<screen><userinput>patch -Np1 -i ../fam-&fam-version;-dnotify-1.patch &amp;&amp;
84chmod -v 755 configure &amp;&amp;
85autoreconf -f -i &amp;&amp;
86./configure --prefix=/usr --sysconfdir=/etc &amp;&amp;
87make</userinput></screen>
88
89 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
90
91<screen role="root"><userinput>make install</userinput></screen>
92
93 </sect2>
94
95 <sect2 role="commands">
96 <title>Command Explanations</title>
97
98 <para><command>patch -Np1 -i ../fam-&fam-version;-dnotify-1.patch</command>:
99 This patch enables <application>FAM</application> to use
100 the Linux kernel dnotify mechanism to inform the calling process of
101 file modifications, rather than polling the file system for
102 modifications.</para>
103
104 <para><command>chmod -v 755 configure</command>: <command>configure</command> is
105 set to read-only and <command>autoreconf</command> will fail if the
106 permissions aren't changed.</para>
107
108 <para><command>autoreconf -f -i</command>: The autotools need rebuilding
109 because the dnotify patch affects <filename>configure.ac</filename> and
110 <filename>Makefile.am</filename>.</para>
111
112 </sect2>
113
114 <sect2 role="configuration">
115 <title>Configuring FAM</title>
116
117 <sect3 id='fam-config'>
118 <title>Config Files</title>
119
120 <para><filename>/etc/rpc</filename>,
121 <filename>/etc/fam.conf</filename>,
122 <filename>/etc/inetd.conf</filename> or
123 <filename>/etc/xinetd.conf</filename> or
124 <filename>/etc/xinetd.d/fam</filename></para>
125
126 <indexterm zone="fam fam-config">
127 <primary sortas="e-etc-rpc">/etc/rpc</primary>
128 </indexterm>
129
130 <indexterm zone="fam fam-config">
131 <primary sortas="e-etc-fam.conf">/etc/fam.conf</primary>
132 </indexterm>
133
134 <indexterm zone="fam fam-config">
135 <primary sortas="e-etc-inetd.conf">/etc/inetd.conf</primary>
136 </indexterm>
137
138 <indexterm zone="fam fam-config">
139 <primary sortas="e-etc-xinetd.conf">/etc/xinetd.conf</primary>
140 </indexterm>
141
142 <indexterm zone="fam fam-config">
143 <primary sortas="e-etc-xinetd.d-sgi_fam">/etc/xinetd.d/sgi_fam</primary>
144 </indexterm>
145
146 </sect3>
147
148 <sect3>
149 <title>Configuration Information</title>
150
151 <para>Configuring the File Alteration Monitor. Perform the following
152 instructions as the <systemitem class='username'>root</systemitem>
153 user.</para>
154
155 <para>If you use <command>inetd</command>, add the
156 <application>FAM</application> entry to
157 <filename>/etc/inetd.conf</filename> with the following command:</para>
158
159<screen role="root"><userinput>echo "sgi_fam/1-2 stream rpc/tcp wait root /usr/sbin/famd fam" \
160 &gt;&gt; /etc/inetd.conf</userinput></screen>
161
162 <para>If you use <command>xinetd</command>, the following command will
163 create the <application>FAM</application> file as
164 <filename>/etc/xinetd.d/sgi_fam</filename> (be sure the
165 <systemitem class="groupname">nogroup</systemitem> group exists):</para>
166
167<screen role="root"><userinput>cat &gt;&gt; /etc/xinetd.d/sgi_fam &lt;&lt; "EOF"
168<literal># Begin /etc/xinetd.d/sgi_fam
169
170# description: FAM - file alteration monitor
171 service sgi_fam
172 {
173 type = RPC UNLISTED
174 socket_type = stream
175 user = root
176 group = nogroup
177 server = /usr/sbin/famd
178 wait = yes
179 protocol = tcp
180 rpc_version = 2
181 rpc_number = 391002
182 }
183
184# End /etc/xinetd.d/sgi_fam</literal>
185EOF</userinput></screen>
186
187 <para id='fam-init'>If you do not have an <command>inetd</command> daemon
188 installed and have no wish to install one, you can also start
189 <command>famd</command> during system startup by installing the
190 <filename>/etc/rc.d/init.d/fam</filename> init script included in the
191 <xref linkend="bootscripts"/> package.</para>
192
193<screen role="root"><userinput>make install-fam</userinput></screen>
194
195 <indexterm zone="fam fam-init">
196 <primary sortas="f-fam">fam</primary>
197 </indexterm>
198
199 </sect3>
200
201 </sect2>
202
203 <sect2 role="content">
204 <title>Contents</title>
205
206 <segmentedlist>
207 <segtitle>Installed Program</segtitle>
208 <segtitle>Installed Library</segtitle>
209 <segtitle>Installed Directories</segtitle>
210
211 <seglistitem>
212 <seg>famd</seg>
213 <seg>libfam.[so,a]</seg>
214 <seg>None</seg>
215 </seglistitem>
216 </segmentedlist>
217
218 <variablelist>
219 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
220 <?dbfo list-presentation="list"?>
221 <?dbhtml list-presentation="table"?>
222
223 <varlistentry id="famd">
224 <term><command>famd</command></term>
225 <listitem>
226 <para>is the file alteration monitor daemon.</para>
227 <indexterm zone="fam famd">
228 <primary sortas="b-famd">famd</primary>
229 </indexterm>
230 </listitem>
231 </varlistentry>
232
233 <varlistentry id="libfam">
234 <term><filename class='libraryfile'>libfam.[so,a]</filename></term>
235 <listitem>
236 <para>contains functions that support the file allocation monitor.</para>
237 <indexterm zone="fam libfam">
238 <primary sortas="c-libfam">libfam.[so,a]</primary>
239 </indexterm>
240 </listitem>
241 </varlistentry>
242
243 </variablelist>
244
245 </sect2>
246
247</sect1>
Note: See TracBrowser for help on using the repository browser.