source: general/genlib/fam.xml@ 5404a65

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 5404a65 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
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
[06a0740d]75 </sect2>
[4c3474fe]76
[06a0740d]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;
[e3353b3]84chmod -v 755 configure &amp;&amp;
[52d29f7]85autoreconf -f -i &amp;&amp;
86./configure --prefix=/usr --sysconfdir=/etc &amp;&amp;
[06a0740d]87make</userinput></screen>
[4c3474fe]88
[06a0740d]89 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
[4c3474fe]90
[06a0740d]91<screen role="root"><userinput>make install</userinput></screen>
[4c3474fe]92
[06a0740d]93 </sect2>
[4c3474fe]94
[06a0740d]95 <sect2 role="commands">
96 <title>Command Explanations</title>
97
[74390482]98 <para><command>patch -Np1 -i ../fam-&fam-version;-dnotify-1.patch</command>:
99 This patch enables <application>FAM</application> to use
[06a0740d]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>
[4c3474fe]103
[74390482]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
[06a0740d]106 permissions aren't changed.</para>
[4c3474fe]107
[74390482]108 <para><command>autoreconf -f -i</command>: The autotools need rebuilding
109 because the dnotify patch affects <filename>configure.ac</filename> and
[06a0740d]110 <filename>Makefile.am</filename>.</para>
[4c3474fe]111
[06a0740d]112 </sect2>
[4c3474fe]113
[06a0740d]114 <sect2 role="configuration">
115 <title>Configuring FAM</title>
116
117 <sect3 id='fam-config'>
118 <title>Config Files</title>
[4c3474fe]119
[06a0740d]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>
[4c3474fe]125
[06a0740d]126 <indexterm zone="fam fam-config">
127 <primary sortas="e-etc-rpc">/etc/rpc</primary>
128 </indexterm>
[4c3474fe]129
[06a0740d]130 <indexterm zone="fam fam-config">
131 <primary sortas="e-etc-fam.conf">/etc/fam.conf</primary>
132 </indexterm>
[4c3474fe]133
[06a0740d]134 <indexterm zone="fam fam-config">
135 <primary sortas="e-etc-inetd.conf">/etc/inetd.conf</primary>
136 </indexterm>
[4c3474fe]137
[06a0740d]138 <indexterm zone="fam fam-config">
139 <primary sortas="e-etc-xinetd.conf">/etc/xinetd.conf</primary>
140 </indexterm>
[4c3474fe]141
[06a0740d]142 <indexterm zone="fam fam-config">
143 <primary sortas="e-etc-xinetd.d-sgi_fam">/etc/xinetd.d/sgi_fam</primary>
144 </indexterm>
[4c3474fe]145
[06a0740d]146 </sect3>
147
148 <sect3>
149 <title>Configuration Information</title>
150
[4c288b0]151 <para>Configuring the File Alteration Monitor. Perform the following
152 instructions as the <systemitem class='username'>root</systemitem>
153 user.</para>
[4c3474fe]154
[4c288b0]155 <para>If you use <command>inetd</command>, add the
[06a0740d]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
[4c288b0]162 <para>If you use <command>xinetd</command>, the following command will
[06a0740d]163 create the <application>FAM</application> file as
[74390482]164 <filename>/etc/xinetd.d/sgi_fam</filename> (be sure the
[0f0ee329]165 <systemitem class="groupname">nogroup</systemitem> group exists):</para>
[06a0740d]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
[1f672c1]169
170# description: FAM - file alteration monitor
[52d29f7]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 }
[1f672c1]183
[06a0740d]184# End /etc/xinetd.d/sgi_fam</literal>
185EOF</userinput></screen>
186
[74390482]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
[06a0740d]190 <filename>/etc/rc.d/init.d/fam</filename> init script included in the
[5254d12]191 <xref linkend="bootscripts"/> package.</para>
[06a0740d]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>
[4c3474fe]198
[06a0740d]199 </sect3>
[4c3474fe]200
[06a0740d]201 </sect2>
[4c3474fe]202
[06a0740d]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>
[4c3474fe]210
[06a0740d]211 <seglistitem>
212 <seg>famd</seg>
213 <seg>libfam.[so,a]</seg>
214 <seg>None</seg>
215 </seglistitem>
216 </segmentedlist>
[4c3474fe]217
[06a0740d]218 <variablelist>
219 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
220 <?dbfo list-presentation="list"?>
221 <?dbhtml list-presentation="table"?>
[4c3474fe]222
[06a0740d]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>
[4c3474fe]232
[06a0740d]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>
[4c3474fe]242
243 </variablelist>
244
[06a0740d]245 </sect2>
[6492ac2]246
247</sect1>
Note: See TracBrowser for help on using the repository browser.