Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[2.3] Remove obsoleted style of appledouble support #668

Closed
rdmark opened this issue Jan 11, 2024 · 3 comments
Closed

[2.3] Remove obsoleted style of appledouble support #668

rdmark opened this issue Jan 11, 2024 · 3 comments
Assignees

Comments

@rdmark
Copy link
Member

rdmark commented Jan 11, 2024

We currently support an obsoleted OSX 10.3 style AppleDouble metadata. I believe it was a transitional format before EA became the standard on OSX. Let’s remove the option and related code.

from the AppleVolumes man page:

adouble:[v1|v2|osx]
Specify the format of the metadata files, which are used for saving the Mac resource fork as well. Earlier versions used AppleDouble V1, while the new default format is V2. Starting with Netatalk 2.0, the scheme Mac OS X 10.3.x uses, is also supported.

Note

adouble:osx cannot be treated normally any longer. Its only aim was to temporarily share e.g. FAT32 formatted FireWire hard drives written on a Macintosh with afpd. Apple's metadata scheme lacks several essential features, so using it on the server's side will break both CNIDs and Mac OS 9 compatibility. An AppleDouble file of Mac OS X 10.6 is incompatible to V1 and V2.

@rdmark
Copy link
Member Author

rdmark commented Jan 11, 2024

At a related note, I don’t think EA works properly on 2.2/2.3 although we have an option for it: ea:sys

@rdmark
Copy link
Member Author

rdmark commented Jan 13, 2024

While reading the code, I found traces of an undocumented "sfm" style of appledouble metadata. Searching the mailing lists suggests it was written for interoperability with a historical hack for a Samba hack by now-defunct Israeli company Exanet.

I will remove the code for this option in the same PR.

https://sourceforge.net/p/netatalk/mailman/message/22638728/
https://sourceforge.net/p/netatalk/mailman/message/24926910/

@rdmark rdmark changed the title [2.3] Remove osx style appledouble support [2.3] Remove obsoleted style of appledouble support Jan 13, 2024
@rdmark rdmark self-assigned this Jan 13, 2024
@NJRoadfan
Copy link

I suspect "sfm" means "Services For Macintosh", which was an AFP server that Microsoft shipped with Windows Server 2000 and 2003. On NTFS it should be using alternate data streams to store the resource forks of files. I don't know how it handled forks on FAT32 drives.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants