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

Add support for macOS hosts #281

Closed
dgsga opened this issue Apr 6, 2023 · 11 comments
Closed

Add support for macOS hosts #281

dgsga opened this issue Apr 6, 2023 · 11 comments

Comments

@dgsga
Copy link
Contributor

dgsga commented Apr 6, 2023

Netatalk does run on modern Intel and Apple Silicon based Macs with a number of code patches which have been tested over a two-year period.

@rdmark
Copy link
Member

rdmark commented Apr 6, 2023

As a side note, I think this would warrant a minor version bump, since it introduces a major new capability: netatalk 3.2.0

@slowfranklin
Copy link
Member

Out of curiousity: why? Why running Netatalk on OS X when the builtin AFP server is cleanly integrated with the OS, avoid the crutch of AppleDouble sidecar blob and the like.

@rdmark
Copy link
Member

rdmark commented Apr 6, 2023

Didn't Apple get rid of the AFP server ages ago, and only kept the AFP client alive in macOS?

@rdmark
Copy link
Member

rdmark commented Apr 6, 2023

The AFP server deprecated with Big Sur, according to MacWorld: https://www.macworld.com/article/234926/using-afp-to-share-a-mac-drive-its-time-to-change.html

@slowfranklin
Copy link
Member

I kinda lost track when it AFP was deprecated in favor of SMB, quite a long time ago already apparently, and if the AFP server was ever actually removed, was it?

@rdmark
Copy link
Member

rdmark commented Apr 6, 2023

It's a good question; did Apple decisively remove the AFP server code, or is it still around and accessible through CLI shenanigans?

The official macOS docs do mention AFP file sharing as an option for Big Sur, but not Monterey or Ventura. So this confirms the official story.

@dgsga
Copy link
Contributor Author

dgsga commented Apr 7, 2023

Just checked, the Apple AFP server binary (afp) is definitely absent from Ventura. Quite relieved really as it might have made all my work on the macOS port null and void!

@slowfranklin
Copy link
Member

Just checked, the Apple AFP server binary (afp) is definitely absent from Ventura. Quite relieved really as it might have made all my work on the macOS port null and void!

:) Did you add a Mac specific metadata backend that stores all the Mac metadata natively in the filesystem or is it just build fixes so the metadata will be stored in AppleDouble sidecar files or xattrs?

@dgsga
Copy link
Contributor Author

dgsga commented Apr 7, 2023

Just a minimal alteration to the ea search macro allows metadata to be stored in the native APFS filesytem.I don't have the programming knowledge to build a backend...

@dgsga
Copy link
Contributor Author

dgsga commented Apr 10, 2023

Nearly there, just have to sort out an authentication issue...

@rdmark
Copy link
Member

rdmark commented Apr 21, 2023

The code in in main now. Great job!

@rdmark rdmark closed this as completed Apr 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants