From owner-freebsd-questions@FreeBSD.ORG Wed May 7 11:01:36 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5D71737B401 for ; Wed, 7 May 2003 11:01:36 -0700 (PDT) Received: from pd3mo2so.prod.shaw.ca (shawidc-mo1.cg.shawcable.net [24.71.223.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5C67343FDD for ; Wed, 7 May 2003 11:01:35 -0700 (PDT) (envelope-from cpressey@catseye.mb.ca) Received: from pd5mr4so.prod.shaw.ca (pd5mr4so-qfe3.prod.shaw.ca [10.0.141.168]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with ESMTP id <0HEJ001P9385ZO@l-daemon> for questions@freebsd.org; Wed, 07 May 2003 11:57:41 -0600 (MDT) Received: from pn2ml1so.prod.shaw.ca (pn2ml1so-qfe0.prod.shaw.ca [10.0.121.145]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with ESMTP id <0HEJ004TA3864T@l-daemon> for questions@freebsd.org; Wed, 07 May 2003 11:57:42 -0600 (MDT) Received: from www.kallisti.ca (h24-70-180-74.wp.shawcable.net [24.70.180.74]) by l-daemon (iPlanet Messaging Server 5.2 HotFix 1.14 (built Mar 18 2003)) with SMTP id <0HEJ00GPN385S5@l-daemon> for questions@freebsd.org; Wed, 07 May 2003 11:57:42 -0600 (MDT) Date: Wed, 07 May 2003 12:58:13 -0500 From: Chris Pressey In-reply-to: <32BFB2DB-80B2-11D7-9502-003065ABFD92@mac.com> To: Charles Swiger Message-id: <20030507125813.04653d0e.cpressey@catseye.mb.ca> Organization: Cat's Eye Technologies MIME-version: 1.0 X-Mailer: Sylpheed version 0.8.10 (GTK+ 1.2.10; i386-portbld-freebsd4.8) Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT References: <32BFB2DB-80B2-11D7-9502-003065ABFD92@mac.com> cc: questions@freebsd.org Subject: Re: Realtime Filesystem Replication X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 May 2003 18:01:36 -0000 On Wed, 7 May 2003 13:34:47 -0400 Charles Swiger 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