Re: Fam and FreeBSD: we support polling mode only ?

2002-09-06 Thread Terry Lambert
Martin Blapp wrote: We just noted that SGI's famd (the file alteration deamon) in BSD does have to poll the devices, instead getting noticed by the kernel. How hard would it be to integrate kernel support for this using kqueue ? It's there; you just have to register interest in the events.

Re: Fam and FreeBSD: we support polling mode only ?

2002-09-06 Thread Martin Blapp
Hi, As the kqueue paper points out, /dev/imon is less efficient that the kqueue equivalent. Of course. But it sucks adding kqueue support to all programs which already use imon support. I'll do this now for the fam port. Any other programs out there which use /dev/imon directly ? That

Re: Fam and FreeBSD: we support polling mode only ?

2002-09-06 Thread Maxim Sobolev
Martin Blapp wrote: Hi, As the kqueue paper points out, /dev/imon is less efficient that the kqueue equivalent. Of course. But it sucks adding kqueue support to all programs which already use imon support. I'll do this now for the fam port. Any other programs out there which use

Re: Fam and FreeBSD: we support polling mode only ?

2002-09-06 Thread Martin Blapp
Hi Somomax, We have two versions then :-) http://people.freebsd.org/~mbr/fam-kqueue.tgz It's David Rufino's version merged with our port. After I have tested everything I'll ask the port maintainer to commit it. Maybe I should make a port of bsdfam ? Why haven't you done one ? Martin