Hi,
I'm working on a network file system using OSXFUSE and I see that Finder doesn't refresh its content when my file system invalidates inodes after some operations affecting those inodes happened remotely. I believe Finder uses kevent() to watch the file system and that notifications get properly delivered for file system operations that happen locally (e.g. 'touch' in a terminal). I was wondering however if there was any way to make my file system generate such notifications (e.g. NOTE_DELETE, NOTE_ATTRIB...) when processing network events?
I found on this forum mentions of the following Objective-C API but it now seems to be deprecated and I couldn't find any equivalent unfortunately (but would love to be wrong):
[[NSWorkspace sharedWorkspace] noteFileSystemChanged:changedFilePath];
Also I would like ideally to solve this problem globally, i.e. not only for Finder although many/most applications on OSX do rely on Finder.
Thank you,
Philippe.