afpfs-ng-mac/README.md

60 lines
2.0 KiB
Markdown
Raw Normal View History

2017-10-30 23:26:38 +00:00
## afpfs-ng for macOS / OS X
2013-03-12 07:08:07 +00:00
### Description
2017-10-30 23:26:38 +00:00
macOS / OS X ships with the ability to mount volumes via AFP. However, OS X 10.6 and newer are not capable of AFP version 2.x or older which is needed to network with Classic MacOS (7.6 to 9.2 via IP).
2013-03-12 07:08:07 +00:00
2017-10-30 23:26:38 +00:00
This version of afpfs-ng is based on Simon Vetter's version. It has fixes 'hacked in' to make it work with Fuse for macOS / OSXFUSE on macOS / OS X. As a consequence, it does not work with Fuse for Linux.
2013-03-12 07:08:07 +00:00
2017-10-30 23:26:38 +00:00
It is of use for you if you emulate Classic MacOS, e.g. using SheepShaver or QEMU. And of course if you own an old Macintosh you want to exchange files with.
2013-03-12 07:08:07 +00:00
2017-10-30 23:26:38 +00:00
macOS / OS X already makes use of the 'mount_afp' command. Thus in this version of afpfs-ng that command has been changed to 'mount_afp2' (to indicate it is for use with AFP v. 2.x).
2013-03-12 07:08:07 +00:00
2017-10-30 23:26:38 +00:00
### Prerequesites
2013-03-14 01:17:23 +00:00
2017-11-02 11:03:29 +00:00
Download and install Fuse for macOS from https://osxfuse.github.io/ (v. 3.7.1 as of writing this). The Fuse compatibility layer is NOT required.
2013-03-14 01:17:23 +00:00
2017-10-30 23:26:38 +00:00
### Installation
2013-03-14 01:17:23 +00:00
2017-10-30 23:26:38 +00:00
AFP up to v. 2.x does not offer password encryption which is why we simply disable it rather than installing gcrypt on macOS / OS X first:
2013-03-14 01:26:34 +00:00
```bash
2017-10-30 23:26:38 +00:00
./configure --disable-gcrypt --enable-fuse
2013-03-14 01:26:34 +00:00
```
```bash
2017-10-30 23:26:38 +00:00
make
2013-03-14 01:26:34 +00:00
```
```bash
2017-10-30 23:26:38 +00:00
sudo make install
2013-03-14 01:26:34 +00:00
```
2013-03-14 01:17:23 +00:00
2017-10-30 23:26:38 +00:00
Also, I couldn't figure how to make the fuse components compile automatically on macOS / OS X. This is how to do that manually:
2013-03-14 01:26:34 +00:00
```bash
2017-10-30 23:26:38 +00:00
cd fuse
2013-03-14 01:26:34 +00:00
```
```bash
2017-10-30 23:26:38 +00:00
make
2013-03-14 01:26:34 +00:00
```
```bash
2017-10-30 23:26:38 +00:00
sudo make install
2013-03-14 01:26:34 +00:00
```
2013-03-14 01:17:23 +00:00
2013-03-12 07:08:07 +00:00
2017-10-30 23:26:38 +00:00
### Usage, credits and license
2013-03-12 07:08:07 +00:00
2017-10-30 23:26:38 +00:00
Don't forget to load Fuse for macOS first:
```bash
/Library/Filesystems/osxfuse.fs/Contents/Resources/load_osxfuse
```
2017-11-02 11:21:42 +00:00
See README_old.md for examples on commands. But mind the change to 'mount_afp2'.
2013-03-12 07:08:07 +00:00
2017-10-30 23:26:38 +00:00
There you can also find information on the license and credits.
2013-03-12 07:08:07 +00:00
2017-10-30 23:26:38 +00:00
Credits for this macOS / OS X version goes to 'adespoton' for his guidance.
2013-03-12 07:08:07 +00:00
2017-10-30 23:26:38 +00:00
### Links / further reading
2013-03-12 07:01:51 +00:00
2017-11-02 11:03:29 +00:00
Information on the background and process of porting afpfs-ng to macOS / OS X can be found at http://emaculation.com/forum/viewtopic.php?f=34&p=57993#p57806 . Feel free to join the forum!