Hi Ron, On Jan 2, 2008 2:08 PM, Ron Aldrich <[EMAIL PROTECTED]> wrote:
> > Hi Amit, > > I'm working correcting my implementation of Resource Forks in our UDF > file system. UDF (version 2.0 and later) uses named streams to > implement resource forks. > > By implementing xattrs, I've gotten things to work correctly under > 10.5, but under 10.4, the operating system is still using AppleDouble > files. > Keep in mind that depending on what is in the resource fork (i.e. custom icon or not) you might need to explicitly list the AppleDouble files in directory contents on 10.4. > > I could create a translation layer, that translates accesses to the > AppleDouble header file into named stream (xattr) access, but this > seems like it would be very complicated because I would have to be > continually manipulating the content of the AppleDouble header file. > xattr's are more like blobs of data than streams, so this can be sort of difficult. Are you talking about read-only or read-write? Since an AppleDouble would be read/written by the OS using a streaming-style API the solution might be somewhat complicated. > Ideally, I would like the MacFuse layer to use the xattr mechanism > when accessing resource forks under Mac OS X 10.4. How difficult > would this be to achieve? > Sorry, but I'm pretty sure that this feature will not be added to MacFUSE any time soon. If you want to make a go of it yourself, I'd recommend you look at the fuse stackable module api (near the bottom of fuse.h) and see if it can be done with a module. Best of luck! ted > > Thanks for your time, > > Ron Aldrich > Software Architects, Inc. > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
