dazuko-help
[Top][All Lists]
Advanced

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

Re: [Dazuko-help] Dazuko 3.x and finer gain events


From: Lino Sanfilippo
Subject: Re: [Dazuko-help] Dazuko 3.x and finer gain events
Date: Tue, 21 Jul 2009 12:38:48 +0200
User-agent: Icedove 1.5.0.14eol (X11/20090105)

Robert Minsk wrote:
I just started looking at porting my application to the new DazukoFS 3.x
branch from DazukoIO 2.x  It seems you can no longer get any information
about what the event was that triggered the notification (open, close,
exec, unlink, rmdir).  My applications needs the event type.  Is it
planned to add this to the new DazukoFS?  Will it also return if the
file was opened for writing, reading, or other open flags?

It also seems that DazukoFS does not trigger on unlink.  Are there any
plans for unlink?
Hi Robert,

currently dazukofs does only support "OnOpen" events. There are
plans by us (Avira) to support also "OnClose" notification in the
dazukofs modules shipped with our antivir-software "unix guard".
These modules are slightly modified dazukofs modules. This may take a while, though.

But did you think of using inotify in your applications? Dazukofs
provides you with an open file descriptor and there is also a function
(dazukofs_get_filename()) to retrieve the file path for a specific
descriptor.
This could be used to watch the file with an inotify watch. With this
you should be able to get all the event notifications you need.

Regards,
Lino Sanfilippo




Geschäftsführender Gesellschafter: Tjark Auerbach
Sitz der Gesellschaft: Tettnang
Handelsregister: Amtsgericht Ulm, HRB 630992
ALLGEMEINE GESCHÄFTSBEDINGUNGEN
Es gelten unsere Allgemeinen Geschäftsbedingungen
(AGB). Sie finden sie in der jeweils gültigen Fassung
im Internet unter http://www.avira.de/agb
***************************************************




reply via email to

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