Re: how to retrieve who does the modification with kqueue or fsevent?
Re: how to retrieve who does the modification with kqueue or fsevent?
- Subject: Re: how to retrieve who does the modification with kqueue or fsevent?
- From: James Peach <email@hidden>
- Date: Wed, 23 Jun 2010 08:39:55 -0700
On Jun 23, 2010, at 6:59 AM, Laurent Vinet wrote:
> Hi all,
>
> I want to use kqueue (or fsevent) to watch for file changes.
>
> I need also to know the Application (pid) who modifying the files when I receive an event but I don't found a solution.
I don't believe that there is any way to do this. Consider the case of a network filesystem that supports kqueues (AFP or SMB). Even if this were able to deliver the PID to you, it would be the PID of a remote process so it wouldn't do you any good.
>
> Thanks for help!
> Laurent _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Filesystem-dev mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Filesystem-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden