mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-04 07:17:15 +08:00
update fam intro
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1060 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
512e06f90a
commit
4af6b98859
@ -1,5 +1,5 @@
|
||||
<sect2>
|
||||
<title>Configuring fam</title>
|
||||
<title>Configuring <application><acronym>fam</acronym></application></title>
|
||||
|
||||
<sect3><title>Config files</title>
|
||||
|
||||
@ -15,19 +15,18 @@
|
||||
|
||||
<para>Configuring the file alteration monitor.</para>
|
||||
|
||||
<para>If you use inetd, add the fam entry to
|
||||
<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>
|
||||
|
||||
<screen><userinput>echo "sgi_fam/1-2 stream rpc/tcp wait root /usr/bin/fam fam" >> /etc/inetd.conf</userinput></screen>
|
||||
<screen><userinput><command>echo "sgi_fam/1-2 stream rpc/tcp wait root /usr/bin/fam fam" >> /etc/inetd.conf</command></userinput></screen>
|
||||
|
||||
<para>
|
||||
If you use xinetd, add an entry to
|
||||
<para>If you use <application>xinetd</application>, add an entry to
|
||||
<filename>/etc/xinetd.conf</filename> with the following command (be
|
||||
sure the "nogroup" group exists):
|
||||
</para>
|
||||
<para>
|
||||
<screen><userinput>cat >> /etc/xinetd.conf << "EOF"</userinput>
|
||||
sure the "nogroup" group exists):</para>
|
||||
|
||||
<screen><userinput><command>cat >> /etc/xinetd.conf << "EOF"</command>
|
||||
# description: FAM - file alteration monitor
|
||||
service sgi_fam
|
||||
{
|
||||
@ -41,7 +40,7 @@ sure the "nogroup" group exists):
|
||||
rpc_version = 2
|
||||
rpc_number = 391002
|
||||
}
|
||||
<userinput>EOF</userinput></screen></para>
|
||||
<command>EOF</command></userinput></screen>
|
||||
|
||||
</sect3>
|
||||
|
||||
|
@ -1,7 +1,8 @@
|
||||
<sect2>
|
||||
<title>Contents</title>
|
||||
|
||||
<para>The fam package contains <userinput>fam</userinput> and
|
||||
<para>The <application><acronym>fam</acronym></application> package contains
|
||||
<command>fam</command> and
|
||||
<filename>libfam</filename> libraries.</para>
|
||||
|
||||
</sect2>
|
||||
@ -10,7 +11,7 @@
|
||||
|
||||
<sect3><title>fam</title>
|
||||
|
||||
<para>fam is the file alteration monitor.</para>
|
||||
<para><command>fam</command> is the file alteration monitor.</para>
|
||||
|
||||
</sect3>
|
||||
|
||||
|
@ -1,15 +1,12 @@
|
||||
<sect2>
|
||||
<title>Command explanations</title>
|
||||
|
||||
<para>
|
||||
<userinput>patch -Np1 -i ../fam-dnotify.patch</userinput> : This patch causes fam to use the Linux kernel dnotify mechanism to
|
||||
inform the calling process of file modifications, rather than polling
|
||||
the file system for.
|
||||
</para>
|
||||
<para><command>patch -Np1 -i ../fam-dnotify.patch</command> : This patch causes
|
||||
fam to use the Linux kernel dnotify mechanism to inform the calling process of
|
||||
file modifications, rather than polling the file system for.</para>
|
||||
|
||||
<para>
|
||||
<userinput>patch -Np1 -i ../fam-gcc3.patch</userinput> : This patch is necessary to get fam to compile with gcc-3.2.
|
||||
</para>
|
||||
<para><command>patch -Np1 -i ../fam-gcc3.patch</command> : This patch is
|
||||
necessary to get fam to compile with gcc-&gcc-version;.</para>
|
||||
|
||||
</sect2>
|
||||
|
||||
|
@ -1,17 +1,19 @@
|
||||
<sect2>
|
||||
<title>Installation of fam</title>
|
||||
<title>Installation of <application><acronym>fam</acronym></application></title>
|
||||
|
||||
<para>Download the fam patches from <ulink url="&hfile-root;"/>.</para>
|
||||
<para>Download the <application><acronym>fam</acronym></application> patches
|
||||
from <ulink url="&hfile-root;"/>.</para>
|
||||
|
||||
<para>Install fam by running the following commands:</para>
|
||||
<para>Install <application><acronym>fam</acronym></application> by running the
|
||||
following commands:</para>
|
||||
|
||||
<note><para>You will get warnings about make install being unable to
|
||||
merge entries in <filename>/etc/rpc</filename>. These can be ignored, along with any IMON
|
||||
or inetd.conf warnings, as we will be configuring these files after
|
||||
installation.</para></note>
|
||||
merge entries in <filename>/etc/rpc</filename>. These can be ignored, along
|
||||
with any <acronym>IMON</acronym> or <filename>inetd.conf</filename> warnings,
|
||||
as we will be configuring these files after installation.</para></note>
|
||||
|
||||
|
||||
<para><screen><userinput>patch -Np1 -i ../fam-dnotify.patch &&
|
||||
<screen><userinput><command>patch -Np1 -i ../fam-dnotify.patch &&
|
||||
patch -Np1 -i ../fam-gcc3.patch &&
|
||||
libtoolize --force &&
|
||||
aclocal &&
|
||||
@ -19,7 +21,7 @@ automake --add-missing &&
|
||||
autoconf &&
|
||||
./configure --prefix=/usr --sysconfdir=/etc &&
|
||||
make &&
|
||||
make install</userinput></screen></para>
|
||||
make install</command></userinput></screen>
|
||||
|
||||
|
||||
</sect2>
|
||||
|
@ -1,15 +1,27 @@
|
||||
<sect2>
|
||||
<title>Introduction to fam</title>
|
||||
<title>Introduction to <application><acronym>fam</acronym></application></title>
|
||||
|
||||
<screen>Download location (HTTP): <ulink url="&libfam-download-http;"/>
|
||||
Download location (FTP): <ulink url="&libfam-download-ftp;"/>
|
||||
Version used: &libfam-version;
|
||||
Package size: &libfam-size;
|
||||
Estimated Disk space required: &libfam-buildsize;</screen>
|
||||
<para>The <application><acronym>fam</acronym></application> package contains a
|
||||
File Alteration Monitor which is useful for notifying applications of
|
||||
changes to the file system.</para>
|
||||
|
||||
<para>The fam package contains a File Alteration Monitor.</para>
|
||||
|
||||
<screen>fam depends on:
|
||||
<xref linkend="portmap"/></screen>
|
||||
<sect3><title>Package information</title>
|
||||
<itemizedlist spacing='compact'>
|
||||
<listitem><para>Download (HTTP): <ulink
|
||||
url="&libfam-download-http;"/></para></listitem>
|
||||
<listitem><para>Download (FTP): <ulink
|
||||
url="&libfam-download-ftp;"/></para></listitem>
|
||||
<listitem><para>Download size: &libfam-size;</para></listitem>
|
||||
<listitem><para>Estimated Disk space required:
|
||||
&libfam-buildsize;</para></listitem>
|
||||
<listitem><para>Estimated build time:
|
||||
&libfam-time;</para></listitem></itemizedlist>
|
||||
</sect3>
|
||||
|
||||
<sect3><title><application><acronym>fam</acronym></application> dependencies
|
||||
</title>
|
||||
<sect4><title>Required</title>
|
||||
<para><xref linkend="portmap"/></para></sect4>
|
||||
</sect3>
|
||||
|
||||
</sect2>
|
||||
|
Loading…
Reference in New Issue
Block a user