source: general/genlib/fam.xml@ f2464092

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.0 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 f2464092 was b8fa16e, checked in by Randy McMurchy <randy@…>, 20 years ago

added missing download locations to various packages

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

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