2008/10/27 ted bonkenburg <[EMAIL PROTECTED]>: >> Can anyone offer any insight? > > I'm assuming you are using the c library and not the Objective-C > MacFUSE.framework?
That's right. > You should be able to get this working. I remember it was a pain to > get it working properly with the Objective-C framework but I did get > it to work in the end. The code is open source with a BSD license, so > feel to look at that. Thanks, I have been looking at it. I probably would have used it, but when I started, I didn't know what the framework did. I'm still not sure, and I'd really like run its appledouble resforks side by side to see what I'm doing wrong. > http://macfuse.googlecode.com/svn/trunk/core/sdk-objc/ > > The GMUserFileSystem.{h,m} does most of the work. You may also find > GMFinderInfo.{h,m}, GMResourceFork.{h,m}, and GMAppleDouble.{h,m} > helpful. I bet. > On Leopard, you should not need noautoxattr. You should return ENOATTR > for non-existent attributes and ENOTSUP for attributes that you don't > want to support. No, you're right, I meant that I need noautoxattr to make appledouble work under leopard. Of course it's completely superfluous, but given the choice I'd choose one codepath, be it less efficient (of course semantically, appledouble could be preferable, as it has an open/close structure, whereas xattrs have only "read"). > On Tiger one thing I remember is that you need to make sure that the > AppleDouble (._) files are listed in the directory listing. If I > recall correctly, this is not necessary for AppleDouble files to work > on Leopard although I prefer using xattrs on Leopard anyway. Thanks, that's 100% right. I noticed that at 2am last night. That's a perfectly reasonable requirement and in fact pointed to a bug in my app. > Let me know if you have specific questions. Hopefully the code can > help you figure things out, or if you want an easier time consider > using the Objective-C framework :-) Well, thanks - I'm not sure how to start. I really want to make helloworld file system with a single file containing 1 byte of resource fork data which I then plan to copy with cp under Tiger. Regards, RF. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
