> Have you replicated your problems on the LoopBack example?

Yes. You need to modify the loopback example so that you pass in the
"local" option:

[options addObject:@"local"];

Once you do that, then open a LoopbackFS volumn on /tmp and then
terminal into /tmp and do something like:

touch example

And you'll see that that file doesn't show up on the LoopbackFS volumn
until unless you deselect the LoopbackFS volume and the select it
again.

I'm not really sure that this is filesystem bug at all. The filesystem
is reporting the correct info (for example if you do a ls in the
terminal). Intead it's just that the finder isn't refreshing soon
enough. It's hard to demo with the loopbackfs example, since changes
arn't comming from within the app, but if you can make a call to
[NSWorkspace noteFileSystemChanged:] that makes the Finder update
instantly... even fast then when the loopback example isn't in local
mode. So unless someone tells me it's not a good idea, I'd recommend
trying to call [NSWorkspace noteFileSystemChanged:] if you want Finder
views to update quickly.

Jesse

>> 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=2C but it does
>> seem to make the Finder update quickly.
>>
>> Jesse>
>                                          =0A=
> _________________________________________________________________=0A=
> Hotmail=AE has ever-growing storage! Don=92t worry about storage limits.=0A=
> http://windowslive.com/Tutorial/Hotmail/Storage?ocid=3DTXT_TAGLM_WL_HM_Tuto=
> rial_Storage_062009=
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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