• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: how to retrieve who does the modification with kqueue or fsevent?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >how to retrieve who does the modification with kqueue or fsevent? (From: Laurent Vinet <email@hidden>)

  • Prev by Date: how to retrieve who does the modification with kqueue or fsevent?
  • Next by Date: Rép : how to retrieve who does the modification with kqueue or fsevent?
  • Previous by thread: how to retrieve who does the modification with kqueue or fsevent?
  • Next by thread: Rép : how to retrieve who does the modification with kqueue or fsevent?
  • Index(es):
    • Date
    • Thread