I'm trying to ascertain whether the problem I'm seeing is a bug in
Apple frameworks or in MacFUSE.

Has anyone successfully managed to serve xattrs from a MacFUSE
filesystem using listxattr and getxattr, rather than dot-underscore
files?

My helloworldicns code (http://code.google.com/p/helloworldicns/) adds
icon serving functionality to the helloworldfs example from the wiki
by providing com.apple.ResourceFork and com.apple.FinderInfo through
listxattr and getxattr for /hello.txt. This differs from the way
FUSEObjC's HelloFuse.app works, which uses dot-underscore files
instead.

Any attempt to view the helloworldicns file system's hello.txt using
Finder (thumbnail preview or quick look) or TextEdit causes a crash
(bus error). However, it opens fine in XCode, Safari, and Pages, and
can be viewed fine in the Terminal using cat or less.

If hello.txt is copied from the helloworldicns file system to an HFS+
file system, using either cp or Finder drag-and-drop, the resulting
copy works without problem in Finder and TextEdit. The two files are
identical according to diff, and so are their xattrs according to
"xattr -l" and diff.

Does anyone have any idea why certain apps might have problems with
the file but only when served from the MacFUSE file system?

Thanks,
Hamish

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

Reply via email to