From owner-freebsd-cluster Wed Aug 1 6:26: 8 2001 Delivered-To: freebsd-cluster@freebsd.org Received: from mimer.webgiro.com (mailer2.webgiro.com [213.162.131.18]) by hub.freebsd.org (Postfix) with ESMTP id 8F80E37B401; Wed, 1 Aug 2001 06:26:03 -0700 (PDT) (envelope-from abial@webgiro.com) Received: from webgiro.com (mailer2.webgiro.com [213.162.131.18]) by mimer.webgiro.com (Postfix) with ESMTP id 9470B68469; Wed, 1 Aug 2001 15:48:34 +0200 (CEST) Message-ID: <3B680296.403D6E79@webgiro.com> Date: Wed, 01 Aug 2001 15:22:31 +0200 From: Andrzej Bialecki Organization: WebGiro AB X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 To: Gabriel Ambuehl Cc: Alexander Leidinger , freebsd-isp@freebsd.org, freebsd-cluster@freebsd.org, jlemon@FreeBSD.org Subject: Re: Monitoring a FS with kevent (was: Re: Redundant setup on a budget??) References: <200107261742.f6QHgXv06426@Magelan.Leidinger.net> <72117607730.20010726195942@buz.ch> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-cluster@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Gabriel Ambuehl wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > > Hello Alexander, > > Thursday, July 26, 2001, 7:42:32 PM, you wrote: > >> I interpret this like it's good for monitoring single vnodes, but > >> not entire filesystem. > > Yes, you have to walk through the entire FS and request a > > notification for every file or directory. But perhaps the developer > > (CCed) is able to add the "monitor the entire FS for me" > > functionality in the kernel... Jonathan, we are talking about > > soft-realtime mirroring of an entire FS (or doing something like > > realtime-tripwire). > > I'd very much like to see such a feature. Even better would it be, if > it were possible to also capture permission changes in the same go. > > I've been thinking about whether it would make sense to just patch > libc to log this kind of stuff? Or are there other interfaces that > speak to the system calls directly so that it would be needed to > patch > those instead? Anyway, this is nothing I'd be greedy to do as it can > result in big amounts of really serious troubles (especially as my C > knowledge is virtually zero). Well, although it wasn't meant for that, you can get this sort of information from a syscall monitoring module I wrote. It's called SPY, and you can find the -current sources at: http://people.freebsd.org/~abial -- Andrzej // ---------------------------------------------------------------- // Andrzej Bialecki , Chief System Architect // WebGiro AB, Sweden (http://www.webgiro.com) // ---------------------------------------------------------------- // FreeBSD developer (http://www.freebsd.org) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-cluster" in the body of the message