source: general/genlib/fam.xml@ 0aeb696

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 0aeb696 was 0aeb696, checked in by Randy McMurchy <randy@…>, 18 years ago

Added a comment to each file that may need a mention of a test suite added to it, this allows closing of bug #1697

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

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