• 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: Rép : how to retrieve who does the modification with kqueue or fsevent?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Rép : how to retrieve who does the modification with kqueue or fsevent?


  • Subject: Re: Rép : how to retrieve who does the modification with kqueue or fsevent?
  • From: James Peach <email@hidden>
  • Date: Thu, 24 Jun 2010 08:45:30 -0700

On Jun 24, 2010, at 12:54 AM, Laurent Vinet wrote:

> Hi James,
>
> Thanks for your response. In my case I can limit the scope of my application to local filesystems.
>
> In fact a way to do this exists. fslogger (http://osxbook.com/software/fslogger) use a (more?) low/private level approch: a clone of the fsevent.
> As say Singh "fslogger is a user-space program that subscribes to the same file system event notification mechanism as the Spotlight metadata server" and in this case the pid is provided by the kfs_event.
>
> So, is the "Spotlight metadata server" can give me the application pid ?

Nope, this is out of scope for Spotlight.

> I don't found anything in the "Spotlight Metadata Attributes"... do I have to use the fslogger approch despite the status and the potentiel problems described by Singh ?

Singh's caveats section is accurate. You should not ship code to customers that depends on this approach.

You should file an enhancement request at http://bugreporter.apple.com, to request a supported way of doing this in a future release.

>
> Thanks in advance.
>
> 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: 
 >Rép : how to retrieve who does the modification with kqueue or fsevent? (From: Laurent Vinet <email@hidden>)

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