fam
[Top] [All Lists]

Re: [SISE FAM] FAM on Solaris2.8

To: Michael Wardle <michael.wardle@xxxxxxxxxx>
Subject: Re: [SISE FAM] FAM on Solaris2.8
From: Rémi Cohen-Scali <Remi@xxxxxxxxxxxxxxx>
Date: Fri, 14 Mar 2003 05:30:36 +0100
Cc: File Alteration Monitor Mailling List <fam@xxxxxxxxxxx>
In-reply-to: <200303141358.04565.michael.wardle@xxxxxxxxxx>
References: <3E7140EA.9030300@xxxxxxxxxxxxxxx> <200303141358.04565.michael.wardle@xxxxxxxxxx>
Sender: fam-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.3-rcsnet) Gecko/20030311
Michael Wardle wrote:

Excellent.  I will have a look at your changes sometime.

Not so :-) ... I really do it in a hurry.
Please keep in mind it is a first shot.
I just hacked the configure script, but I should have add a test for sys/mntent (instead I just changed mntent in sys/mntent) I also used gcc as a compiler but It might be possible to use Sun WorkShop 6.2 c++ compiler (need more work). But the main issue I'd like to fix is the polling. I'd like to use it for nautilus and it really need better performance/timeout.

No, there isn't.

I believe Solaris has a special device, /dev/poll, which is designed to perform monitoring in a way similar to IMon, but this may have been introduced in Solaris 7 or 8. We do not yet support this.

If you're planning on adding such support:
- you might like to apply the DNotify patch and use to
 Monitor pseudo-interface it provides
- you might like to wait until I finish FAM 2.7, in which I
 plan to provide a much more generic file monitor interface,
 and reworked autoconf scripts, but this is unlikely to be
 finished for a few months
Then I think I'am going to give it a try now. Thanks for the tricks. I found /dev/poll in docs and I'am trying to use it.
I'll soon be back to ask more.

Regards


<Prev in Thread] Current Thread [Next in Thread>