Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 07 May 2003 12:58:13 -0500
From:      Chris Pressey <cpressey@catseye.mb.ca>
To:        Charles Swiger <cswiger@mac.com>
Cc:        questions@freebsd.org
Subject:   Re: Realtime Filesystem Replication
Message-ID:  <20030507125813.04653d0e.cpressey@catseye.mb.ca>
In-Reply-To: <32BFB2DB-80B2-11D7-9502-003065ABFD92@mac.com>
References:  <Pine.BSF.4.21.0305061221200.47177-100000@server1.ultratrends.com> <32BFB2DB-80B2-11D7-9502-003065ABFD92@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 7 May 2003 13:34:47 -0400
Charles Swiger <cswiger@mac.com> wrote:

> On Tuesday, May 6, 2003, at 03:22 PM, YOU wrote:
> > Thanks so far to the suggestions including rsync and unison. Both 
> > appear
> > to be triggered upon a command line or user typed command. Is
> > someone using a system that tracks the mtimes for files and updates
> > without prompt?
> 
> Sure.  Whatever causes updates has to keep track and push out it's 
> changes t the things which might be interested.  Take a look at the
> way funnel newsfeeds work under INN.
> 
> -Chuck

But is there a way to do this without being the thing that causes the
updates?  For example it might be 'cat > foo.txt' that causes the
update.  Without rewriting 'cat' and essentially every other program, of
course - I gather the only way to do this would be at the filesystem
level.

Or, to reduce this to the specific circumstance I'm curious about:

Is there a way to be notified of, and/or log, in real-time, all changes
to a filesystem?

On other operating systems I've seen programs that 'hook into'
filesystem calls for opening, creating, deleting &c files, and display
them in a window as they happen.  Is this sort of thing feasible in
FreeBSD?

-Chris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030507125813.04653d0e.cpressey>