%general-entities; ]> $LastChangedBy$ $Date$ FAM-&fam-version; Fam Introduction to <application><acronym>FAM</acronym></application> The FAM package contains a File Alteration Monitor which is useful for notifying applications of changes to the file system. Package information Download (HTTP): Download (FTP): Download MD5 sum: &fam-md5sum; Download size: &fam-size; Estimated disk space required: &fam-buildsize; Estimated build time: &fam-time; Additional downloads Dnotify patch (Recommended): <application><acronym>FAM</acronym></application> dependencies Required Installation of <application><acronym>FAM</acronym></application> Install FAM by running the following commands: patch -Np1 -i ../fam-&fam-version;-dnotify-1.patch && chmod 755 configure && autoreconf -f -i && ./configure --prefix=/usr --sysconfdir=/etc && make Now, as the root user: make install Command explanations patch -Np1 -i ../fam-&fam-version;-dnotify-1.patch: This patch enables FAM to use the Linux kernel dnotify mechanism to inform the calling process of file modifications, rather than polling the file system for modifications. chmod 755 configure: configure is set to read-only and autoreconf will fail if the permissions aren't changed. autoreconf -f -i: The autotools need rebuilding because the dnotify patch affects configure.ac and Makefile.am. Configuring <application><acronym>FAM</acronym></application> Config files /etc/rpc, /etc/fam.conf, /etc/inetd.conf or /etc/xinetd.conf or /etc/xinetd.d/fam /etc/rpc /etc/fam.conf /etc/inetd.conf /etc/xinetd.conf /etc/xinetd.d/sgi_fam Configuration Information Configuring the file alteration monitor. If you use inetd, add the FAM entry to /etc/inetd.conf with the following command: echo "sgi_fam/1-2 stream rpc/tcp wait root /usr/sbin/famd fam" \ >> /etc/inetd.conf If you use xinetd, the following command will create the FAM file as /etc/xinetd.d/sgi_fam (be sure the "nogroup" group exists): cat >> /etc/xinetd.d/sgi_fam << "EOF" # Begin /etc/xinetd.d/sgi_fam # description: FAM - file alteration monitor service sgi_fam { type = RPC UNLISTED socket_type = stream user = root group = nogroup server = /usr/sbin/famd wait = yes protocol = tcp rpc_version = 2 rpc_number = 391002 } # End /etc/xinetd.d/sgi_fam EOF If you do not have an inetd daemon installed and have no wish to install one, you can also start famd during system startup by installing the /etc/rc.d/init.d/fam init script included in the package. make install-fam fam Contents Installed Program Installed Library Installed Directories famd libfam.[so,a] None Short Descriptions famd is the file alteration monitor daemon. famd libfam.[so,a] contains functions that support the file allocation monitor. libfam.[so,a]