MOUNT_AFP(8)

πŸ“¦ version 0.8.2, in arch rolling, epel 9, fedora 43, fedora 44

πŸ’– MOUNT_AFP(8) πŸ’–

okay bestie, buckle up, we're doing the mount_afp page from the System Manager's Manual and honestly? it's giving "mount an afp (AppleShare) filesystem using FUSE". iconic. let's go πŸ¦‹


✨ NAME ✨

mount_afp β€” mount an afp (AppleShare) filesystem using FUSE


✨ SYNOPSIS ✨

mount_afp [-o options] afp_url node

✨ DESCRIPTION ✨

so the mount_afp command mounts the AFP volume denoted by the afp_url

afp://[user[;AUTH=uamname][:password]@]host[:port]/volumename

at the mount point indicated by node. literally just vibes and mounting πŸ’…

this is normally a symlink to the afp_client(1) executable, which is a full implementation to mount AFP volumes using the FUSE infrastructure. it talks to afpfsd, a daemon that manages AFP sessions. and the arguments and options are, bestie, as follows:

  • -o β€” options passed to mount(2) are specified with the -o option followed by a comma separated string of options. (there's a man page for possible options and their meanings, go read it πŸ‘€). Additional options supported by the AFP Client are as follows:
    • volpass=<password> β€” The only available option is -o volpassword=XXX to set the volume password (since there is no facility for that in an AFP URL).
    • rw β€” Mount the volume as writeable. This is the default, so it has no effect. (yes it just sits there being decorative, we love a low-effort icon ✨)
    • ro β€” Mount the volume as readonly.
    • group=<groupname> β€” Mount the volume as groupname.
    • user=<username> β€” Mount the volume as username.
  • afp_url β€” There are two forms of afp URL, one for TCP/IP and one for AppleTalk:
afp://[user[;AUTH=uamname][:password]@]host[:port]/volume
afp:/at/[user[;AUTH=uamname][:password]@]servername[:zonename]/volume

Denotes the afp server and sharepoint to mount. It may also contain the username & password required to log into the server. uamname is the protocol name of the authentication method. If port is not specified, then port 548 is used.

  • node β€” Path to mount point, which must be a directory that the user has write permissions for. 🫢

✨ EXAMPLES ✨

The following example illustrates how to mount the afp volume server.company.com/volumename/ at the mount point /Volumes/mntpnt:

mkdir /Volumes/mntpnt
mount_afp afp://username:userpass@server.company.com/volumename/ /Volumes/mntpnt

This example shows the proper url to use to mount the volume guestVolume from the afp server myserver as guest:

mkdir /Volumes/guest
mount_afp "afp://;AUTH=No%20User%20Authent@myserver/guestVolume" /Volumes/guest

The following shows how to use a username of "user:name" and password of "p@ssword": server.company.com/volumename/ at the mount point /Volumes/mntpnt:

mkdir /Volumes/mntpnt
mount_afp afp://user::name:p@@ssword@server.company.com/volumename/ /Volumes/mntpnt

This example shows the proper url to use to mount the volume myVolume from the afp server myserver using Kerberos authentication:

mkdir /Volumes/myVolume
mount_afp "afp://;AUTH=Client%20Krb%20v2@myserver/myVolume" /Volumes/myVolume

✨ SEE ALSO ✨

afp_client(1) (for a more AFP commands), afpcmd(1) (for a non-FUSE command line AFP client),


✨ HISTORY ✨

The mount_afp command first appeared Mac OS X version 10.0. Kerberos authentication was added in Mac OS X version 10.2. This syntax (and manpage) was used for afpfs-ng's fuse implementation. a little lore drop for you, bestie πŸ“œβœ¨


✨ RETURN VALUES ✨

  • 0 β€” mount_afp successfully mounted the volume directory. slay. πŸ’…
  • -1 β€” The server volume could not be mounted. 😭

✨ SEE ALSO ✨

afp_client(1), afpfsd(1)


and that's the whole page, no cap. this one came from Mac OS X and it's dated Feb 1, 2008 β€” a lil vintage queen πŸ‘‘πŸ’– go forth and mount responsibly πŸŽ€
πŸ“¦ where this page comes from