Filesystem monitoring question

Bill Vermillion bv at
Fri Nov 18 16:55:54 GMT 2005

On Fri, Nov 18, 2005 at 12:00 ,
freebsd-hackers-request at showing utter disregard for
spell-checkers gave us this:

> Date: Thu, 17 Nov 2005 15:07:48 +0000
> From: Cornelis Swanepoel <rools.ster at>
> Subject: Filesystem monitoring question

> I have a FreeBSD 6.0 box with a partition that is accessible to
> a number of clients via SMB and NFS.

> I would like to monitor activity on this partition so that every
> time a write to it is completed, my C program is run (which
> stats the file and stores some info about it in a database
> amongst other things)

> My question is: What do I need to learn in order to construct a
> trigger for my code?

> If anyone can point me in the right direction I would greatly
> appreciate it.

What is that you need that fam won't do. See  man 1m fam.


Bill Vermillion - bv @ wjv . com

More information about the freebsd-hackers mailing list