source: general/genlib/fam.xml@ d227be52

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.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 d227be52 was 85a135f, checked in by Randy McMurchy <randy@…>, 19 years ago

Added md5sums to popt, FAM, slang, libxml2, libxslt, GMP and GDBM instructions

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

  • Property mode set to 100644
File size: 5.4 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
3 "http://www.oasis-open.org/docbook/xml/4.3/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 "320 KB">
11<!ENTITY fam-buildsize "6.9 MB">
12<!ENTITY fam-time "0.37 SBU">
13]>
14
15<sect1 id="fam" xreflabel="FAM-&fam-version;">
16<sect1info>
17<othername>$LastChangedBy$</othername>
18<date>$Date$</date>
19</sect1info>
20<?dbhtml filename="fam.html"?>
21<title>FAM-&fam-version;</title>
22
23<sect2>
24<title>Introduction to <application><acronym>FAM</acronym></application></title>
25
26<para>The <application><acronym>FAM</acronym></application> package contains a
27File Alteration Monitor which is useful for notifying applications of
28changes to the file system.</para>
29
30<sect3><title>Package information</title>
31<itemizedlist spacing='compact'>
32<listitem><para>Download (HTTP): <ulink
33url="&fam-download-http;"/></para></listitem>
34<listitem><para>Download (FTP): <ulink
35url="&fam-download-ftp;"/></para></listitem>
36<listitem><para>Download MD5 sum: &fam-md5sum;</para></listitem>
37<listitem><para>Download size: &fam-size;</para></listitem>
38<listitem><para>Estimated disk space required:
39&fam-buildsize;</para></listitem>
40<listitem><para>Estimated build time:
41&fam-time;</para></listitem></itemizedlist>
42</sect3>
43
44<sect3><title>Additional downloads</title>
45<itemizedlist spacing='compact'>
46<listitem><para>Dnotify patch (Recommended): <ulink
47url="&patch-root;/fam-&fam-version;-dnotify-1.patch"/></para></listitem>
48</itemizedlist>
49</sect3>
50
51<sect3><title><application><acronym>FAM</acronym></application> dependencies
52</title>
53<sect4><title>Required</title>
54<para><xref linkend="portmap"/></para></sect4>
55</sect3>
56
57</sect2>
58
59<sect2>
60<title>Installation of <application><acronym>FAM</acronym></application></title>
61
62<para>Install <application><acronym>FAM</acronym></application> by running the
63following commands:</para>
64
65<screen><userinput><command>patch -Np1 -i ../fam-&fam-version;-dnotify-1.patch &amp;&amp;
66chmod 755 configure &amp;&amp;
67autoreconf -f -i &amp;&amp;
68./configure --prefix=/usr --sysconfdir=/etc &amp;&amp;
69make &amp;&amp;
70make install</command></userinput></screen>
71
72</sect2>
73
74<sect2>
75<title>Command explanations</title>
76
77<para><command>patch -Np1 -i ../fam-&fam-version;-dnotify-1.patch</command>:
78This patch enables <application><acronym>FAM</acronym></application> to use
79the Linux kernel dnotify mechanism to inform the calling process of
80file modifications, rather than polling the file system for
81modifications.</para>
82
83<para><command>chmod 755 configure</command>: <command>configure</command> is
84set to read-only and <command>autoreconf</command> will fail if the
85permissions aren't changed.</para>
86
87<para><command>autoreconf -f -i</command>: The autotools need rebuilding
88because the dnotify patch affects <filename>configure.ac</filename> and
89<filename>Makefile.am</filename>.</para>
90
91</sect2>
92
93<sect2>
94<title>Configuring <application><acronym>FAM</acronym></application></title>
95
96<sect3><title>Config files</title>
97
98<para><filename>/etc/rpc</filename>,
99 <filename>/etc/fam.conf</filename>,
100 <filename>/etc/inetd.conf</filename>,
101 <filename>/etc/xinetd.d/fam</filename>
102 or <filename>/etc/xinetd.conf</filename>
103 </para>
104</sect3>
105
106<sect3><title>Configuration Information</title>
107
108<para>Configuring the file alteration monitor.</para>
109
110<para>If you use <application>inetd</application>, add the
111<application><acronym>FAM</acronym></application> entry to
112<filename>/etc/inetd.conf</filename> with the
113following command:</para>
114
115<screen><userinput><command>echo "sgi_fam/1-2 stream rpc/tcp wait root /usr/sbin/famd fam" \
116 &gt;&gt; /etc/inetd.conf</command></userinput></screen>
117
118<para>If you use <application>xinetd</application>, add an entry to
119<filename>/etc/xinetd.conf</filename> with the following command (be
120sure the "nogroup" group exists):</para>
121
122<screen><userinput><command>cat &gt;&gt; /etc/xinetd.conf &lt;&lt; "EOF"</command>
123 # description: FAM - file alteration monitor
124 service sgi_fam
125 {
126 type = RPC UNLISTED
127 socket_type = stream
128 user = root
129 group = nogroup
130 server = /usr/sbin/famd
131 wait = yes
132 protocol = tcp
133 rpc_version = 2
134 rpc_number = 391002
135 }
136<command>EOF</command></userinput></screen>
137
138<para>If you do not have an <command>inetd</command> daemon installed and have
139no wish to install one, you can also start <command>famd</command> during
140system startup by installing the <filename>/etc/rc.d/init.d/fam</filename>
141init script included in the
142<xref linkend="intro-important-bootscripts"/> package.</para>
143
144<screen><userinput><command>make install-fam</command></userinput></screen>
145
146</sect3>
147
148</sect2>
149
150<sect2>
151<title>Contents</title>
152
153<para>The <application><acronym>FAM</acronym></application> package contains
154the <command>famd</command> executable and <filename>libfam</filename>
155libraries.</para>
156
157</sect2>
158
159<sect2><title>Description</title>
160
161<sect3><title>famd</title>
162
163<para><command>famd</command> is the file alteration monitor.</para>
164
165</sect3>
166
167</sect2>
168
169</sect1>
170
Note: See TracBrowser for help on using the repository browser.