Skip to Content
Mac OS X in a Nutshell
book

Mac OS X in a Nutshell

by Jason McIntosh, Chuck Toporek, Chris Stone
January 2003
Intermediate to advanced
832 pages
32h 40m
English
O'Reilly Media, Inc.
Content preview from Mac OS X in a Nutshell

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

Prompts 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 (cleartext 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 will be 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.
Start your free trial

You might also like

Mac OS X Internals: A Systems Approach

Mac OS X Internals: A Systems Approach

Amit Singh
C++ In a Nutshell

C++ In a Nutshell

Ray Lischner
Linux Shell Scripting Cookbook - Third Edition

Linux Shell Scripting Cookbook - Third Edition

Clif Flynt, Sarath Lakshman, Shantanu Tushar
Optimized C++

Optimized C++

Kurt Guntheroth

Publisher Resources

ISBN: 0596003706Supplemental ContentCatalog PageErrata