Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jul 2001 19:42:32 +0200 (CEST)
From:      Alexander Leidinger <Alexander@Leidinger.net>
To:        gabriel_ambuehl@buz.ch
Cc:        freebsd-isp@freebsd.org, freebsd-cluster@freebsd.org, jlemon@FreeBSD.org
Subject:   Monitoring a FS with kevent (was: Re: Redundant setup on a budget??)
Message-ID:  <200107261742.f6QHgXv06426@Magelan.Leidinger.net>
In-Reply-To: <19297458367.20010726142352@buz.ch>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107261742.f6QHgXv06426>