From owner-freebsd-cluster Thu Jul 26 10:45:28 2001 Delivered-To: freebsd-cluster@freebsd.org Received: from mout1.freenet.de (mout1.freenet.de [194.97.50.132]) by hub.freebsd.org (Postfix) with ESMTP id 121AE37B406; Thu, 26 Jul 2001 10:45:23 -0700 (PDT) (envelope-from Alexander@leidinger.net) Received: from [194.97.50.138] (helo=mx0.freenet.de) by mout1.freenet.de with esmtp (Exim 3.30 #3) id 15PpCM-00066w-00; Thu, 26 Jul 2001 19:45:22 +0200 Received: from b8040.pppool.de ([213.7.128.64] helo=Magelan.Leidinger.net) by mx0.freenet.de with esmtp (Exim 3.30 #3) id 15PpCK-0003zN-00; Thu, 26 Jul 2001 19:45:22 +0200 Received: from Leidinger.net (netchild@localhost [127.0.0.1]) by Magelan.Leidinger.net (8.11.4/8.11.4) with ESMTP id f6QHgXv06426; Thu, 26 Jul 2001 19:42:34 +0200 (CEST) (envelope-from netchild@Leidinger.net) Message-Id: <200107261742.f6QHgXv06426@Magelan.Leidinger.net> Date: Thu, 26 Jul 2001 19:42:32 +0200 (CEST) From: Alexander Leidinger Subject: Monitoring a FS with kevent (was: Re: Redundant setup on a budget??) To: gabriel_ambuehl@buz.ch Cc: freebsd-isp@freebsd.org, freebsd-cluster@freebsd.org, jlemon@FreeBSD.org In-Reply-To: <19297458367.20010726142352@buz.ch> MIME-Version: 1.0 Content-Type: TEXT/plain; charset=us-ascii 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 On 26 Jul, Gabriel Ambuehl wrote: >>> On the first glance it looks pretty complex but... >> It depends... > > Read through it a bit more concentrated today and found it probably > doesn't help anyway: > > EVFILT_VNODE Takes a file descriptor as the identifier and the > events > to watch for in fflags, and returns when one or > more of > the requested events occurs on the descriptor. > The events > to monitor are: > > 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). Bye, Alexander. -- The computer revolution is over. The computers won. http://www.Leidinger.net Alexander @ Leidinger.net GPG fingerprint = C518 BC70 E67F 143F BE91 3365 79E2 9C60 B006 3FE7 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-cluster" in the body of the message