> 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
|