fam
[Top] [All Lists]

Re: [fam] bug in fam/imon?

To: raster@xxxxxxxxxxxxx
Subject: Re: [fam] bug in fam/imon?
From: "Rusty Ballinger" <rusty@xxxxxxxxxxxxxxxxxx>
Date: Sun, 21 May 2000 19:54:38 -0700
Cc: fam@xxxxxxxxxxx
In-reply-to: raster@xxxxxxxxxxxxx "[fam] bug in fam/imon?" (May 21, 7:09pm)
References: <200005220209.TAA26098@xxxxxxxxxxxxxxxxxxxxxxxxxx>
Reply-to: rusty@xxxxxxx
Sender: owner-fam@xxxxxxxxxxx
> i just noted theres a bug in fam/imon.. if you monitor a mountpoint
> thats unmounted - then it gets moutned fam doesn send back exists/add
> events - it does nothing.. :(

Hey, I just tried that, and it worked for me.  The nfs client (where the
monitoring is being done) is running a 2.2.13 kernel with imon configured
as a module.  Monitoring the mount point, and then mounting a filesystem
from an irix box with fam, I got a bunch of create events; unmounting it,
I got a bunch of delete events; then mounting a filesystem from a linux box
without fam on the same mount point, I got a bunch of create events, and
then unmounting it, I got the delete events.  Is fam failing to monitor
/etc/mtab or something?  Do you see anything interesting if you run fam in
debug mode?  (Either by adding "-d" to the line that starts it in
inetd.conf, and making sure syslogd is sending debug messages somewhere, or
by starting fam yourself & seeing what it prints out.  Remember that if you
start fam yourself, it registers itself with the portmapper, and
inetd/portmap will be confused later.  I will add "how do I run fam in
debug mode" to the FAQ.)

--Rusty

--
Source code, list archive, and docs: http://oss.sgi.com/projects/fam/
To unsubscribe: echo unsubscribe fam | mail majordomo@xxxxxxxxxxx

<Prev in Thread] Current Thread [Next in Thread>