source: general/genlib/fam.xml@ 1039de3

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

Added the 'User Notes' wiki link to each package page; changed all instances of .[so,a] to .{so,a} (brackets changed to braces); changed all replaceable tags to use angle brackets instead of square brackets to encapsulate the text - commit #3

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

  • Property mode set to 100644
File size: 7.9 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 <para condition="html" role="usernotes">User Notes:
76 <ulink url="&blfs-wiki;/fam"/></para>
77
78 </sect2>
79
80 <sect2 role="installation">
81 <title>Installation of FAM</title>
82
83 <para>Install <application>FAM</application> by running the
84 following commands:</para>
85
86<screen><userinput>patch -Np1 -i ../fam-&fam-version;-dnotify-1.patch &amp;&amp;
87chmod -v 755 configure &amp;&amp;
88autoreconf -f -i &amp;&amp;
89./configure --prefix=/usr --sysconfdir=/etc &amp;&amp;
90make</userinput></screen>
91
92 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
93
94<screen role="root"><userinput>make install</userinput></screen>
95
96 </sect2>
97
98 <sect2 role="commands">
99 <title>Command Explanations</title>
100
101 <para><command>patch -Np1 -i ../fam-&fam-version;-dnotify-1.patch</command>:
102 This patch enables <application>FAM</application> to use
103 the Linux kernel dnotify mechanism to inform the calling process of
104 file modifications, rather than polling the file system for
105 modifications.</para>
106
107 <para><command>chmod -v 755 configure</command>: <command>configure</command> is
108 set to read-only and <command>autoreconf</command> will fail if the
109 permissions aren't changed.</para>
110
111 <para><command>autoreconf -f -i</command>: The autotools need rebuilding
112 because the dnotify patch affects <filename>configure.ac</filename> and
113 <filename>Makefile.am</filename>.</para>
114
115 </sect2>
116
117 <sect2 role="configuration">
118 <title>Configuring FAM</title>
119
120 <sect3 id='fam-config'>
121 <title>Config Files</title>
122
123 <para><filename>/etc/rpc</filename>,
124 <filename>/etc/fam.conf</filename>,
125 <filename>/etc/inetd.conf</filename> or
126 <filename>/etc/xinetd.conf</filename> or
127 <filename>/etc/xinetd.d/fam</filename></para>
128
129 <indexterm zone="fam fam-config">
130 <primary sortas="e-etc-rpc">/etc/rpc</primary>
131 </indexterm>
132
133 <indexterm zone="fam fam-config">
134 <primary sortas="e-etc-fam.conf">/etc/fam.conf</primary>
135 </indexterm>
136
137 <indexterm zone="fam fam-config">
138 <primary sortas="e-etc-inetd.conf">/etc/inetd.conf</primary>
139 </indexterm>
140
141 <indexterm zone="fam fam-config">
142 <primary sortas="e-etc-xinetd.conf">/etc/xinetd.conf</primary>
143 </indexterm>
144
145 <indexterm zone="fam fam-config">
146 <primary sortas="e-etc-xinetd.d-sgi_fam">/etc/xinetd.d/sgi_fam</primary>
147 </indexterm>
148
149 </sect3>
150
151 <sect3>
152 <title>Configuration Information</title>
153
154 <para>Configuring the File Alteration Monitor. Perform the following
155 instructions as the <systemitem class='username'>root</systemitem>
156 user.</para>
157
158 <para>If you use <command>inetd</command>, add the
159 <application>FAM</application> entry to
160 <filename>/etc/inetd.conf</filename> with the following command:</para>
161
162<screen role="root"><userinput>echo "sgi_fam/1-2 stream rpc/tcp wait root /usr/sbin/famd fam" \
163 &gt;&gt; /etc/inetd.conf</userinput></screen>
164
165 <para>If you use <command>xinetd</command>, the following command will
166 create the <application>FAM</application> file as
167 <filename>/etc/xinetd.d/sgi_fam</filename> (be sure the
168 <systemitem class="groupname">nogroup</systemitem> group exists):</para>
169
170<screen role="root"><userinput>cat &gt;&gt; /etc/xinetd.d/sgi_fam &lt;&lt; "EOF"
171<literal># Begin /etc/xinetd.d/sgi_fam
172
173# description: FAM - file alteration monitor
174 service sgi_fam
175 {
176 type = RPC UNLISTED
177 socket_type = stream
178 user = root
179 group = nogroup
180 server = /usr/sbin/famd
181 wait = yes
182 protocol = tcp
183 rpc_version = 2
184 rpc_number = 391002
185 }
186
187# End /etc/xinetd.d/sgi_fam</literal>
188EOF</userinput></screen>
189
190 <para id='fam-init'>If you do not have an <command>inetd</command> daemon
191 installed and have no wish to install one, you can also start
192 <command>famd</command> during system startup by installing the
193 <filename>/etc/rc.d/init.d/fam</filename> init script included in the
194 <xref linkend="bootscripts"/> package.</para>
195
196<screen role="root"><userinput>make install-fam</userinput></screen>
197
198 <indexterm zone="fam fam-init">
199 <primary sortas="f-fam">fam</primary>
200 </indexterm>
201
202 </sect3>
203
204 </sect2>
205
206 <sect2 role="content">
207 <title>Contents</title>
208
209 <segmentedlist>
210 <segtitle>Installed Program</segtitle>
211 <segtitle>Installed Library</segtitle>
212 <segtitle>Installed Directories</segtitle>
213
214 <seglistitem>
215 <seg>famd</seg>
216 <seg>libfam.{so,a}</seg>
217 <seg>None</seg>
218 </seglistitem>
219 </segmentedlist>
220
221 <variablelist>
222 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
223 <?dbfo list-presentation="list"?>
224 <?dbhtml list-presentation="table"?>
225
226 <varlistentry id="famd">
227 <term><command>famd</command></term>
228 <listitem>
229 <para>is the file alteration monitor daemon.</para>
230 <indexterm zone="fam famd">
231 <primary sortas="b-famd">famd</primary>
232 </indexterm>
233 </listitem>
234 </varlistentry>
235
236 <varlistentry id="libfam">
237 <term><filename class='libraryfile'>libfam.{so,a}</filename></term>
238 <listitem>
239 <para>contains functions that support the file allocation monitor.</para>
240 <indexterm zone="fam libfam">
241 <primary sortas="c-libfam">libfam.{so,a}</primary>
242 </indexterm>
243 </listitem>
244 </varlistentry>
245
246 </variablelist>
247
248 </sect2>
249
250</sect1>
Note: See TracBrowser for help on using the repository browser.