dazuko-help
[Top][All Lists]
Advanced

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

Re: [Dazuko-help] Re: ON_CLOSE_MODIFIED and ON_EXEC events


From: John Ogness
Subject: Re: [Dazuko-help] Re: ON_CLOSE_MODIFIED and ON_EXEC events
Date: Tue, 22 Feb 2005 12:02:24 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040913

Robert Hogan wrote:
ON_CLOSE_MODIFIED is not implemented reliably. It is recommended that your
application tracks if files have been modified.

Out of interest, how would you suggest an application does that (in the
context of dazuko and access events)?

Hi,

With the 2.4 Linux kernel you will receive ON_OPEN and ON_CLOSE events. If you had your own cache, you could see if the file changed (using stat(), md5sum's, whatever).

With the 2.1.0 version of Dazuko (already available as pre-release), the ON_CLOSE events are generated very reliably.

John Ogness

--
Dazuko Maintainer




reply via email to

[Prev in Thread] Current Thread [Next in Thread]