Hi,

I got to the bottom of my problems - some time after posting to the
list I fired up the loopback example which was the starting point of
my development.

As the loopback mounts a folder as a volume you can simulate what
happens with a remote file system - just add a file to the folder that
is mounted as a volume (not the volume) and you have added a file
behind the file systems back. If you bring the finder window that
shows the contents of the volume to the front the finder "knows" and
the window updates then. If you add a file and then change the mod
date with touch then it updates immediately.

Having got something that worked and something that does not meant
that I just need to find out what the difference was to locate the
problem. The filesystem that I am working on has a caching structure
that I mount as a filesystem during the early days development for
testing - this is actually really close to the loopback example so I
was able to compare the behavior call by call (I added the loopback
example so it operated directly on the same cache files) and
eventually I got there. Getting the attributes on the root of the
volume returned an error - an idiot mistake on my part.

I thought that this was worth mentioning as the loopback example is
fantastically useful - it has a tiny amount of code, you can modify
calls to see what happens, check behaviors and even with a bit of luck
and leg-work get it to give you that little bit of purchase when you
need a handhold for solving bugs.

Best regards

Alan


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