On Oct 31, 6:57 pm, Amit Singh <[EMAIL PROTECTED]> wrote: > > Unfortunately, "-o nubc" seems to resolve another issue where the file > > changes on the server. > > Well, "behavior that is undesirable to you (or another user for that > matter)" is not necessarily synonymous with "*issue* that can be > fixed". "Files changing on the server" is not a good use case for > sshfs/sftp. Really. I provided "noubc" as a *makeshift* solution, to > be used in conjunction with "cache=no" etc., ****with caveats****.
Right, I understand that the fuse doesn't support filesystems that files can change on it, and that this whole thing is "makeshift". Maybe I don't understand how fuse caching things. I don't expect sshfs/fuse to immediately detect changes; nor do I need it to. But what I don't understand is when sshfs cache is set to the default of 20 seconds, why do I keep seeing the old version minutes after a new version was created? > > My guess on what's happening is that XCode is trying to set some > > attributes on a temporary file and checks it before "committing" it to > > the real file by replacing it. With ubc enabled, those attributes are > > pulled from the cache, while with ubc disabled, it's pulled from the > > filesystem, and it doesn't match what XCode is expecting. > > You'll be happy to know I'm abusing sshfs/sftp even more. I'm using > > You can abuse it all you want. I still can't make it do something that > it can't do. It worked in Tiger and it's XCode, and it worked well. I'm assuming that something has changed in XCode 3.0, and I'd like to get to the bottom of it so I can get this working again. Since it works with ubc enabled, I am assuming that there's something that is getting cached that isn't being committed to the filesystem, and I have no idea how to debug that. Jamus --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "macfuse-devel" 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-devel?hl=en -~----------~----~----~----~------~----~------~--~---
