source: general/genlib/fam.xml@ df6a4c0

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 12.2 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 df6a4c0 was 1039de3, checked in by Randy McMurchy <randy@…>, 19 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
RevLine 
[52d29f7]1<?xml version="1.0" encoding="ISO-8859-1"?>
[ff769b8c]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
[52d29f7]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[06a0740d]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">
[52d29f7]13]>
14
[6492ac2]15<sect1 id="fam" xreflabel="FAM-&fam-version;">
[06a0740d]16 <?dbhtml filename="fam.html"?>
[4c3474fe]17
[06a0740d]18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
[4f26c54]21 <keywordset>
22 <keyword role="package">fam-&fam-version;.tar</keyword>
[22ac237]23 <keyword role="ftpdir">fam</keyword>
[4f26c54]24 </keywordset>
[06a0740d]25 </sect1info>
[4c3474fe]26
[06a0740d]27 <title>FAM-&fam-version;</title>
[4c3474fe]28
[06a0740d]29 <indexterm zone="fam">
30 <primary sortas="a-FAM">FAM</primary>
31 </indexterm>
32
33 <sect2 role="package">
34 <title>Introduction to FAM</title>
[4c3474fe]35
[06a0740d]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>
[4c3474fe]39
[06a0740d]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>
[4c3474fe]61
[06a0740d]62 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
63 <itemizedlist spacing='compact'>
64 <listitem>
[74390482]65 <para>Dnotify patch (Recommended):
[06a0740d]66 <ulink url="&patch-root;/fam-&fam-version;-dnotify-1.patch"/></para>
67 </listitem>
68 </itemizedlist>
[4c3474fe]69
[06a0740d]70 <bridgehead renderas="sect3">FAM Dependencies</bridgehead>
[4c3474fe]71
[06a0740d]72 <bridgehead renderas="sect4">Required</bridgehead>
[4f26c54]73 <para role="required"><xref linkend="portmap"/></para>
[4c3474fe]74
[1039de3]75 <para condition="html" role="usernotes">User Notes:
76 <ulink url="&blfs-wiki;/fam"/></para>
77
[06a0740d]78 </sect2>
[4c3474fe]79
[06a0740d]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;
[e3353b3]87chmod -v 755 configure &amp;&amp;
[52d29f7]88autoreconf -f -i &amp;&amp;
89./configure --prefix=/usr --sysconfdir=/etc &amp;&amp;
[06a0740d]90make</userinput></screen>
[4c3474fe]91
[06a0740d]92 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
[4c3474fe]93
[06a0740d]94<screen role="root"><userinput>make install</userinput></screen>
[4c3474fe]95
[06a0740d]96 </sect2>
[4c3474fe]97
[06a0740d]98 <sect2 role="commands">
99 <title>Command Explanations</title>
100
[74390482]101 <para><command>patch -Np1 -i ../fam-&fam-version;-dnotify-1.patch</command>:
102 This patch enables <application>FAM</application> to use
[06a0740d]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>
[4c3474fe]106
[74390482]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
[06a0740d]109 permissions aren't changed.</para>
[4c3474fe]110
[74390482]111 <para><command>autoreconf -f -i</command>: The autotools need rebuilding
112 because the dnotify patch affects <filename>configure.ac</filename> and
[06a0740d]113 <filename>Makefile.am</filename>.</para>
[4c3474fe]114
[06a0740d]115 </sect2>
[4c3474fe]116
[06a0740d]117 <sect2 role="configuration">
118 <title>Configuring FAM</title>
119
120 <sect3 id='fam-config'>
121 <title>Config Files</title>
[4c3474fe]122
[06a0740d]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>
[4c3474fe]128
[06a0740d]129 <indexterm zone="fam fam-config">
130 <primary sortas="e-etc-rpc">/etc/rpc</primary>
131 </indexterm>
[4c3474fe]132
[06a0740d]133 <indexterm zone="fam fam-config">
134 <primary sortas="e-etc-fam.conf">/etc/fam.conf</primary>
135 </indexterm>
[4c3474fe]136
[06a0740d]137 <indexterm zone="fam fam-config">
138 <primary sortas="e-etc-inetd.conf">/etc/inetd.conf</primary>
139 </indexterm>
[4c3474fe]140
[06a0740d]141 <indexterm zone="fam fam-config">
142 <primary sortas="e-etc-xinetd.conf">/etc/xinetd.conf</primary>
143 </indexterm>
[4c3474fe]144
[06a0740d]145 <indexterm zone="fam fam-config">
146 <primary sortas="e-etc-xinetd.d-sgi_fam">/etc/xinetd.d/sgi_fam</primary>
147 </indexterm>
[4c3474fe]148
[06a0740d]149 </sect3>
150
151 <sect3>
152 <title>Configuration Information</title>
153
[4c288b0]154 <para>Configuring the File Alteration Monitor. Perform the following
155 instructions as the <systemitem class='username'>root</systemitem>
156 user.</para>
[4c3474fe]157
[4c288b0]158 <para>If you use <command>inetd</command>, add the
[06a0740d]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
[4c288b0]165 <para>If you use <command>xinetd</command>, the following command will
[06a0740d]166 create the <application>FAM</application> file as
[74390482]167 <filename>/etc/xinetd.d/sgi_fam</filename> (be sure the
[0f0ee329]168 <systemitem class="groupname">nogroup</systemitem> group exists):</para>
[06a0740d]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
[1f672c1]172
173# description: FAM - file alteration monitor
[52d29f7]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 }
[1f672c1]186
[06a0740d]187# End /etc/xinetd.d/sgi_fam</literal>
188EOF</userinput></screen>
189
[74390482]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
[06a0740d]193 <filename>/etc/rc.d/init.d/fam</filename> init script included in the
[5254d12]194 <xref linkend="bootscripts"/> package.</para>
[06a0740d]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>
[4c3474fe]201
[06a0740d]202 </sect3>
[4c3474fe]203
[06a0740d]204 </sect2>
[4c3474fe]205
[06a0740d]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>
[4c3474fe]213
[06a0740d]214 <seglistitem>
215 <seg>famd</seg>
[1039de3]216 <seg>libfam.{so,a}</seg>
[06a0740d]217 <seg>None</seg>
218 </seglistitem>
219 </segmentedlist>
[4c3474fe]220
[06a0740d]221 <variablelist>
222 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
223 <?dbfo list-presentation="list"?>
224 <?dbhtml list-presentation="table"?>
[4c3474fe]225
[06a0740d]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>
[4c3474fe]235
[06a0740d]236 <varlistentry id="libfam">
[1039de3]237 <term><filename class='libraryfile'>libfam.{so,a}</filename></term>
[06a0740d]238 <listitem>
239 <para>contains functions that support the file allocation monitor.</para>
240 <indexterm zone="fam libfam">
[1039de3]241 <primary sortas="c-libfam">libfam.{so,a}</primary>
[06a0740d]242 </indexterm>
243 </listitem>
244 </varlistentry>
[4c3474fe]245
246 </variablelist>
247
[06a0740d]248 </sect2>
[6492ac2]249
250</sect1>
Note: See TracBrowser for help on using the repository browser.