O'Reilly logo

Mac OS X Tiger in a Nutshell by Jason McIntosh, Chuck Toporek, Chris Stone, Andy Lester

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

mount_afp

Synopsis

mount_afp [-i] [-o mount_options] afp:/[at]/[username[;AUTH=auth_method][:password]@]
afp_server[:port_or_zone]/share_name mount_point

Mounts Apple Filing Protocol (AFP) shares as filesystem volumes. It takes an AFP URL and a mount point as arguments.

Options

-i

Prompt for password if not specified in the AFP URL.

-o

Takes -o options as listed in the mount manpage.

username

The name to use for authentication to the AFP server. username may be null if the NO%20USER%20AUTHENT authentication method is used.

auth_method

The name of the authentication method used. Examples include NO%20USER%20AUTHENT (no authentication required for guest-accessible shares), CLEARTXT%20PASSWRD (clear-text password), 2-WAY%20RANDNUM (two-way random number exchange), and CLIENT%20KRB%20V2 (Kerberos).

password

The password to use for authentication. Note that specifying this on the command line exposes the password in a process listing.

afp_server

The hostname or IP address of an AFP server.

port_or_zone

A TCP port number if accessing the share over TCP/IP, or a zone name if accessing it over AppleTalk.

share_name

The name of the AFP share you wish to access.

mount_point

The directory on which the filesystem is mounted.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required