[Samba] Interoperability with MAC OSX clients, resource forks, xattrs

Jeremy Allison jra at samba.org
Thu Jan 5 12:29:32 MST 2012


On Sun, Jan 01, 2012 at 01:15:20PM +0100, Stefan Rompf wrote:
> 
> The generic solution would be to enhance vfs_streams_xattr so that it stores 
> small streams in xattrs and large streams into files. These files should be in 
> a subdirectory of the directory of the file they belong to and should have a 
> recognizable filename. An xattr on the main file could be used as a hint that 
> additional streams exist.
> 
> The apple specific solution would be a VFS module that intercepts the one 
> stream OSX uses for the resource fork and store it into the .AppleDouble 
> subdirectory in a format compatible with the netatalk package. The module 
> would then be stacked with a vfs_streams module for the other streams. This 
> solution would allow better interoperability with the netatalk package.
> 
> Thoughts?

Both methods sound fine to me. Once you've got code please feel
free to submit as a new vfs module, and we'll evaluate for inclusion
in the main code.

Remember you can now do this under corporate (C) if you need to
if that makes submission easier.

Jeremy.


More information about the samba mailing list