[RFC] vfs_fruit uses wrong xattr name for Mac metadata on FreeBSD

Ralph Böhme slow at samba.org
Sun Jan 22 16:08:08 UTC 2017


Hi Evan,

On Sun, Jan 22, 2017 at 06:48:03AM +0800, Evan Champion wrote:
> Another way would be to change the default xattr name in 4.6.0 and provide a
> conversion tool.

hm...

> The issue that I see with converting on the fly is that it will only convert
> the files when accessed.  On the basis that this is less than 100% of files in
> the share, the filesystem will be left in some sort of halfway fixed state
> that still needs to be fixed properly.

Indeed.

> So, converting on the fly with the intent to remove this conversion in a
> future version doesn't really solve the long-term problem and in some sense
> makes it a bit worse (the xattrs would be inconsistently wrong
> vs. consistently wrong), and makes vfs_fruit itself more complicated.  On this
> basis it may be better to just fix it for 4.6.0 and provide a conversion tool
> for affected sites.  FreeBSD-based FreeNAS 9 and 10 nightlies have corrected
> the xattr name already (without the conversion tool; fruit was only just added
> recently to FreeNAS).

Oh, this is good. Unfortunately, nas4free seems to be using it a bit longer, so
they would have to run the conversion tool if we go down that path.

Can someone ask the nas4free folks how they would like to see the issue
addressed?

Cheerio!
-slow



More information about the samba-technical mailing list