On Mon, Aug 24, 2009 at 4:54 PM, Vincent Torri <vincent.to...@gmail.com>wrote:

>
>
> On Mon, Aug 24, 2009 at 3:23 PM, Darren J Moffat 
> <darr...@opensolaris.org>wrote:
>
>> Vincent Torri wrote:
>>
>>> Hey,
>>>
>>> I would like to know how I can notify the file system on OpenSolaris. The
>>> low level API on linux is Inotify (it's a kernel module), and on Windows, it
>>> is ReadDirectoryChangeW||. Which one is it with OpenSolaris ?
>>>
>>
>> You need to use the port event system.
>>
>> See port_create(3C), port_associate(3C)
>>
>> [snip]
>
> thanks to both of you, that's exactly what I want
>
> actually, i am now trying to implement what i want,  and it seems that
there is no way to know if a file has been created.

from here: http://blogs.sun.com/praks/entry/file_events_notification there
is no 'created' event to watch. Am I  wrong ?


> Vincent Torri
>
>
_______________________________________________
opensolaris-code mailing list
opensolaris-code@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opensolaris-code

Reply via email to