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 Prompt for password if not specified in the AFP URL.
-
-o Takes
-ooptions as listed in themountmanpage.-
username The name to use for authentication to the AFP server.
usernamemay be null if theNO%20USER%20AUTHENTauthentication 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 is mounted.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access