Date: Wed, 01 Aug 2001 15:22:31 +0200 From: Andrzej Bialecki <abial@webgiro.com> To: Gabriel Ambuehl <gabriel_ambuehl@buz.ch> Cc: Alexander Leidinger <Alexander@Leidinger.net>, 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??) Message-ID: <3B680296.403D6E79@webgiro.com> References: <200107261742.f6QHgXv06426@Magelan.Leidinger.net> <72117607730.20010726195942@buz.ch>
next in thread | previous in thread | raw e-mail | index | archive | help
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 <abial@webgiro.com>, Chief System Architect // WebGiro AB, Sweden (http://www.webgiro.com) // ---------------------------------------------------------------- // <abial@freebsd.org> FreeBSD developer (http://www.freebsd.org) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3B680296.403D6E79>