Realtime Filesystem Replication

Bill Moran wmoran at potentialtech.com
Wed May 7 12:00:34 PDT 2003


hris Pressey wrote:
> On Wed, 7 May 2003 13:34:47 -0400
> Charles Swiger <cswiger at 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.
>>
> 
> 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.

Obviously this can be done via kqueue.  See the wait_on port.

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com



More information about the freebsd-questions mailing list