Name
mount_afp
Synopsis
mount_afp [-i] [-omount_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
Prompts for password if not specified in the AFP URL.
-
-o
Takes
-o
options as listed in themount
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
(cleartext password),2-WAY%20RANDNUM
(two-way random number exchange), andCLIENT%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 will be mounted.
Get Mac OS X in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.