[Box Backup] I have the fear....

James O'Gorman boxbackup@fluffy.co.uk
Wed, 14 Mar 2007 18:08:29 +0000


On Tue, Mar 13, 2007 at 10:40:39PM +0000, Chris Wilson wrote:
> >4. Wait until the next version when we intend to use filesystem change 
> >notifications instead of scanning, where available.
> 
> I agree with you and Martin that this is worthwhile, however I think it's 
> worth adding support for the other options given that not all platforms 
> support change notifications (does BSD or MacOS X?)

FreeBSD (and possibly NetBSD, not sure about OpenBSD) has kqueue(2). It
could be worth looking at Dovecot to see an example of a system that
detects/uses kqueue/inotify/poll.

James