How to mount an afp shared folder in Debian Linux as a volume?

Solution 1:

I have recently worked to find how to mount AFP share (from a NAS). First, my afpfs-ng package refers to this website which gives everything you need.

You can find an example on how to mount the share using /etc/fstab (boot time mount). Here an additional example:

afpfs#afp://USER:PASS@SERVER/SHARE    /mnt/afp    fuse    user=USER,group=GROUP,_netdev    0    0

As stated in the previous link, there is another command afpcmd that is a simple client (no mounting). Finally, you can also use mount_afp:

mount_afp afp://USER:PASS@SERVER/SHARE /mnt/afp/

(Although, I am actually facing performance issue using afpfs_ng.)

It is also possible to use the graphical user interface to mount an AFP share. I saw it working with MATE and GNOME (thanks to gvfs). You just have to look in "Network" and the server will be presented.