I've just been wondering about this also. One issue is that it seems
like the trick (change folders modification date) doesn't work if you
mount with the "local" option. In that case my changes are not picked
up until I deselect the volumn in the finder and then reselect it.

To work around this issue in addition to changing the modification
date I also make a call to [NSWorkspace noteFileSystemChanged:]. I
don't know if that's really the right way to do things, but it does
seem to make the Finder update quickly.

Jesse

On Sep 2, 7:28 am, Alan shouls <[email protected]> wrote:
> Hi Dan,
>
> I never had any joy with fuse_purge_np which I imagined might just get things
> to "just work" in the way you mention. I also noted that fuse_purge_np is
> also a method that is not recommended.
>
> What I did in the end was to go back to the LoopBack
> example. If you run the LoopBack and add or remove a file or folder within 
> the folder
> on which the loop-back mount exposes (not the device that appears) then you 
> are
> doing the equivalent of adding a file or folder outside of the file system. I
> set up the LoopBack
> so that it had the same flags for the mount as my filesystem and checked
> out what happened – I should note that I used the auto_cache option. If I 
> added
> or removed a file or folder behind MacFUSE´s back the finder correctly 
> updated. The
> difference I found between my file system and the  LoopBack
> was that when I added or removed a file or folder the date of the enclosing
> (parent) folder changed – this appears to be normal UNIX behaviour. As long as
> my file system did not replicate this behaviour the auto_cache option
> only sort of half-worked.
>
> I hope that this helps
>
> Best Regards
>
> Alan Shouls
>
> _________________________________________________________________
> Hotmail® is up to 70% faster. Now good news travels really 
> fast.http://windowslive.com/online/hotmail?ocid=PID23391::T:WLMTAGL:ON:WL:...
--~--~---------~--~----~------------~-------~--~----~
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