NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: filesystem change monitoring



Hi,

From: Emmanuel Dreyfus <manu%netbsd.org@localhost>, Date: Wed, 12 Aug 2015 08:47:49 +0000

> On Wed, Aug 12, 2015 at 04:19:06PM +1000, Malcolm Herbert wrote:
>> I have used this in the past to implement a poor-man's cluster solution
>> using lsyncd and rsyncd 
> 
> Yes, I tried porting lsyncd to NetBSD: you quickly hit kern.maxfiles
> because it needs to open a file descriptor for every single node monitored.

If lsyncd uses Linux's inotofy, you can link libinotify from
pkgsrc/devel/libinotify. It is a result of GSoC and implemented with
kqueue/kevent (according to DESCR).

--
Ryo ONODERA // ryo_on%yk.rim.or.jp@localhost
PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB  FD1B F404 27FA C7D1 15F3


Home | Main Index | Thread Index | Old Index