Hi Joel,

If you watch the entire "/" directory anything that changes inside will be
available through FSEvents.

Best,
Bryan

On Tue, Mar 15, 2011 at 8:38 AM, Joel Reymont <[email protected]> wrote:

> Bryan,
>
> On Mar 15, 2011, at 4:33 PM, Bryan Pham wrote:
>
> > You need to watch for kernel events (outside of macfuse) in order to
> achieve this.  Amit (MacFuse author) has already done this.
> >
> > http://www.osxbook.com/software/fslogger/
>
> Thanks for the pointer. Are you suggesting that source file opening (before
> copy or move) can be tracked via FSE_STAT_CHANGED [1]? I'll explore this,
> thanks.
>
> I did look at FSEvents but got the impression that it could not watch
> individual files, only directories.
>
>        Thanks, Joel
>
> [1] http://www.osxbook.com/software/fslogger/download/fslogger.c
>
> --------------------------------------------------------------------------
> - for hire: mac osx device driver ninja, kernel extensions and usb drivers
> ---------------------+------------+---------------------------------------
> http://wagerlabs.com | @wagerlabs | http://www.linkedin.com/in/joelreymont
> ---------------------+------------+---------------------------------------
>
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "MacFUSE" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/macfuse?hl=en.
>
>


-- 
Bryan Tri Pham

-- 
You received this message because you are subscribed to the Google Groups 
"MacFUSE" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/macfuse?hl=en.

Reply via email to