mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 23:32:12 +08:00
Update Fam tags
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3618 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
b4b813fbcb
commit
e1455539be
@ -14,12 +14,17 @@
|
||||
|
||||
<sect1 id="fam" xreflabel="FAM-&fam-version;">
|
||||
<sect1info>
|
||||
<othername>$LastChangedBy$</othername>
|
||||
<date>$Date$</date>
|
||||
<othername>$LastChangedBy$</othername>
|
||||
<date>$Date$</date>
|
||||
</sect1info>
|
||||
|
||||
<?dbhtml filename="fam.html"?>
|
||||
<title>FAM-&fam-version;</title>
|
||||
|
||||
<indexterm zone="fam">
|
||||
<primary sortas="a-fam">Fam</primary>
|
||||
</indexterm>
|
||||
|
||||
<sect2>
|
||||
<title>Introduction to <application><acronym>FAM</acronym></application></title>
|
||||
|
||||
@ -28,30 +33,30 @@ File Alteration Monitor which is useful for notifying applications of
|
||||
changes to the file system.</para>
|
||||
|
||||
<sect3><title>Package information</title>
|
||||
<itemizedlist spacing='compact'>
|
||||
<listitem><para>Download (HTTP): <ulink
|
||||
url="&fam-download-http;"/></para></listitem>
|
||||
<listitem><para>Download (FTP): <ulink
|
||||
url="&fam-download-ftp;"/></para></listitem>
|
||||
<listitem><para>Download MD5 sum: &fam-md5sum;</para></listitem>
|
||||
<listitem><para>Download size: &fam-size;</para></listitem>
|
||||
<listitem><para>Estimated disk space required:
|
||||
&fam-buildsize;</para></listitem>
|
||||
<listitem><para>Estimated build time:
|
||||
&fam-time;</para></listitem></itemizedlist>
|
||||
<itemizedlist spacing='compact'>
|
||||
<listitem><para>Download (HTTP): <ulink url="&fam-download-http;"/></para></listitem>
|
||||
<listitem><para>Download (FTP): <ulink url="&fam-download-ftp;"/></para></listitem>
|
||||
<listitem><para>Download MD5 sum: &fam-md5sum;</para></listitem>
|
||||
<listitem><para>Download size: &fam-size;</para></listitem>
|
||||
<listitem><para>Estimated disk space required: &fam-buildsize;</para></listitem>
|
||||
<listitem><para>Estimated build time: &fam-time;</para></listitem>
|
||||
</itemizedlist>
|
||||
</sect3>
|
||||
|
||||
<sect3><title>Additional downloads</title>
|
||||
<sect3>
|
||||
<title>Additional downloads</title>
|
||||
<itemizedlist spacing='compact'>
|
||||
<listitem><para>Dnotify patch (Recommended): <ulink
|
||||
url="&patch-root;/fam-&fam-version;-dnotify-1.patch"/></para></listitem>
|
||||
<listitem><para>Dnotify patch (Recommended):
|
||||
<ulink url="&patch-root;/fam-&fam-version;-dnotify-1.patch"/></para></listitem>
|
||||
</itemizedlist>
|
||||
</sect3>
|
||||
|
||||
<sect3><title><application><acronym>FAM</acronym></application> dependencies
|
||||
</title>
|
||||
<sect4><title>Required</title>
|
||||
<para><xref linkend="portmap"/></para></sect4>
|
||||
<sect3>
|
||||
<title><application><acronym>FAM</acronym></application> dependencies</title>
|
||||
|
||||
<sect4>
|
||||
<title>Required</title>
|
||||
<para><xref linkend="portmap"/></para></sect4>
|
||||
</sect3>
|
||||
|
||||
</sect2>
|
||||
@ -66,8 +71,11 @@ following commands:</para>
|
||||
chmod 755 configure &&
|
||||
autoreconf -f -i &&
|
||||
./configure --prefix=/usr --sysconfdir=/etc &&
|
||||
make &&
|
||||
make install</command></userinput></screen>
|
||||
make</command></userinput></screen>
|
||||
|
||||
<para>Now, as the root user:</para>
|
||||
|
||||
<screen><userinput role='root'><command>make install</command></userinput></screen>
|
||||
|
||||
</sect2>
|
||||
|
||||
@ -93,14 +101,31 @@ because the dnotify patch affects <filename>configure.ac</filename> and
|
||||
<sect2>
|
||||
<title>Configuring <application><acronym>FAM</acronym></application></title>
|
||||
|
||||
<sect3><title>Config files</title>
|
||||
<sect3 id='fam-config'>
|
||||
<title>Config files</title>
|
||||
|
||||
<para><filename>/etc/rpc</filename>,
|
||||
<filename>/etc/fam.conf</filename>,
|
||||
<filename>/etc/inetd.conf</filename>,
|
||||
<filename>/etc/inetd.conf</filename> or
|
||||
<filename>/etc/xinetd.conf</filename> or
|
||||
<filename>/etc/xinetd.d/fam</filename>
|
||||
or <filename>/etc/xinetd.conf</filename>
|
||||
</para>
|
||||
</para>
|
||||
|
||||
<indexterm zone="fam fam-config">
|
||||
<primary sortas="e-etc-rpc">/etc/rpc</primary>
|
||||
</indexterm>
|
||||
<indexterm zone="fam fam-config">
|
||||
<primary sortas="e-etc-fam.conf">/etc/fam.conf</primary>
|
||||
</indexterm>
|
||||
<indexterm zone="fam fam-config">
|
||||
<primary sortas="e-etc-inetd.conf">/etc/inetd.conf</primary>
|
||||
</indexterm>
|
||||
<indexterm zone="fam fam-config">
|
||||
<primary sortas="e-etc-xinetd.conf">/etc/xinetd.conf</primary>
|
||||
</indexterm>
|
||||
<indexterm zone="fam fam-config">
|
||||
<primary sortas="e-etc-xinetd.d-sgi_fam">/etc/xinetd.d/sgi_fam</primary>
|
||||
</indexterm>
|
||||
</sect3>
|
||||
|
||||
<sect3><title>Configuration Information</title>
|
||||
@ -109,16 +134,15 @@ because the dnotify patch affects <filename>configure.ac</filename> and
|
||||
|
||||
<para>If you use <application>inetd</application>, add the
|
||||
<application><acronym>FAM</acronym></application> entry to
|
||||
<filename>/etc/inetd.conf</filename> with the
|
||||
following command:</para>
|
||||
<filename>/etc/inetd.conf</filename> with the following command:</para>
|
||||
|
||||
<screen><userinput><command>echo "sgi_fam/1-2 stream rpc/tcp wait root /usr/sbin/famd fam" \
|
||||
>> /etc/inetd.conf</command></userinput></screen>
|
||||
|
||||
<para>If you use <application>xinetd</application>, the following command will create
|
||||
the <application><acronym>FAM</acronym></application> file as
|
||||
<filename>/etc/xinetd.d/sgi_fam</filename>:
|
||||
(be sure the "nogroup" group exists):</para>
|
||||
<para>If you use <application>xinetd</application>, the following command will
|
||||
create the <application><acronym>FAM</acronym></application> file as
|
||||
<filename>/etc/xinetd.d/sgi_fam</filename> (be sure the "nogroup" group
|
||||
exists):</para>
|
||||
|
||||
<screen><userinput><command>cat >> /etc/xinetd.d/sgi_fam << "EOF"</command>
|
||||
# Begin /etc/xinetd.d/sgi_fam
|
||||
@ -140,7 +164,7 @@ the <application><acronym>FAM</acronym></application> file as
|
||||
# End /etc/xinetd.d/sgi_fam
|
||||
<command>EOF</command></userinput></screen>
|
||||
|
||||
<para>If you do not have an <command>inetd</command> daemon installed and have
|
||||
<para id='fam-init'>If you do not have an <command>inetd</command> daemon installed and have
|
||||
no wish to install one, you can also start <command>famd</command> during
|
||||
system startup by installing the <filename>/etc/rc.d/init.d/fam</filename>
|
||||
init script included in the
|
||||
@ -148,6 +172,10 @@ init script included in the
|
||||
|
||||
<screen><userinput><command>make install-fam</command></userinput></screen>
|
||||
|
||||
<indexterm zone="fam fam-init">
|
||||
<primary sortas="f-fam">fam</primary>
|
||||
</indexterm>
|
||||
|
||||
</sect3>
|
||||
|
||||
</sect2>
|
||||
@ -155,20 +183,43 @@ init script included in the
|
||||
<sect2>
|
||||
<title>Contents</title>
|
||||
|
||||
<para>The <application><acronym>FAM</acronym></application> package contains
|
||||
the <command>famd</command> executable and <filename>libfam</filename>
|
||||
libraries.</para>
|
||||
<segmentedlist>
|
||||
<segtitle>Installed Program</segtitle>
|
||||
<segtitle>Installed Library</segtitle>
|
||||
<segtitle>Installed Directories</segtitle>
|
||||
|
||||
<seglistitem>
|
||||
<seg>famd</seg>
|
||||
<seg>libfam</seg>
|
||||
<seg>None</seg>
|
||||
</seglistitem>
|
||||
</segmentedlist>
|
||||
|
||||
<variablelist>
|
||||
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
||||
<?dbfo list-presentation="list"?>
|
||||
|
||||
</sect2>
|
||||
<varlistentry id="famd">
|
||||
<term><command>famd</command></term>
|
||||
<listitem>
|
||||
<para>is the file alteration monitor daemon.</para>
|
||||
<indexterm zone="fam famd">
|
||||
<primary sortas="b-famd">famd</primary>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<sect2><title>Description</title>
|
||||
|
||||
<sect3><title>famd</title>
|
||||
|
||||
<para><command>famd</command> is the file alteration monitor.</para>
|
||||
|
||||
</sect3>
|
||||
<varlistentry id="libfam">
|
||||
<term><filename class='libraryfile'>libfam.[so,a]</filename></term>
|
||||
<listitem>
|
||||
<para>contains functions that support the file allocation monitor.</para>
|
||||
<indexterm zone="fam libfam">
|
||||
<primary sortas="c-libfam">libfam.[so,a]</primary>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
</variablelist>
|
||||
</sect2>
|
||||
|
||||
</sect1>
|
||||
|
Loading…
Reference in New Issue
Block a user