1MOUNT_AFP(8)              BSD System Manager's Manual             MOUNT_AFP(8)
2

NAME

4     mount_afp — mount an afp (AppleShare) filesystem using FUSE
5

SYNOPSIS

7     mount_afp [-o options] afp_url node
8

DESCRIPTION

10     The mount_afp command mounts the AFP volume denoted by the afp_url
11     afp://[user[;AUTH=uamname][:password]@]host[:port]/volumename at the
12     mount point indicated by node.
13
14     This is normally a symlink to the afp_client(1) executable, which is a
15     full implementation to mount AFP volumes using the FUSE infrastructure.
16     It communicates with afpfsd, a daemon that manages AFP sessions.  The
17     arguments and options are:
18
19     -o      Options passed to mount(2) are specified with the -o option fol‐
20             lowed by a comma separated string of options.  man page for pos‐
21             sible options and their meanings. Additional options supported by
22             the AFP Client are as follows:
23
24             volpass=<password>
25                     The only available option is "-o volpassword=XXX" to set
26                     the volume password (since there is no facility for that
27                     in an AFP URL).
28
29             rw      Mount the volume as writeable.  This is the default, so
30                     it has no effect.
31
32             ro      Mount the volume as readonly.
33
34             group=<groupname>
35                     Mount the volume as groupname.
36
37             user=<username>
38                     Mount the volume as username.
39
40     afp_url
41             There are two forms of afp URL, one for TCP/IP and one for
42             AppleTalk:
43
44             afp://[user[;AUTH=uamname][:password]@]host[:port]/volume
45
46             afp:/at/[user[;AUTH=uamname][:password]@]servername[:zone‐
47             name]/volume
48
49             Denotes the afp server and sharepoint to mount. It may also con‐
50             tain the username & password required to log into the server.
51             uamname is the protocol name of the authentication method.  If
52             port is not specified, then port 548 is used.
53
54     node    Path to mount point, which must be a directory that the user has
55             write permissions for.
56

EXAMPLES

58     The following example illustrates how to mount the afp volume server.com‐
59     pany.com/volumename/ at the mount point /Volumes/mntpnt:
60
61           mkdir /Volumes/mntpnt
62           mount_afp afp://username:userpass@server.company.com/volumename/ /Volumes/mntpnt
63
64     This example shows the proper url to use to mount the volume guestVolume
65     from the afp server myserver as guest:
66
67           mkdir /Volumes/guest
68           mount_afp "afp://;AUTH=No%20User%20Authent@myserver/guestVolume" /Volumes/guest
69
70           The following shows how to use a username of "user:name" and password of "p@ssword":
71           server.company.com/volumename/ at the mount point /Volumes/mntpnt:
72
73                 mkdir /Volumes/mntpnt
74                 mount_afp afp://user::name:p@@ssword@server.company.com/volumename/ /Volumes/mntpnt
75
76     This example shows the proper url to use to mount the volume myVolume
77     from the afp server myserver using Kerberos authentication:
78
79           mkdir /Volumes/myVolume
80           mount_afp "afp://;AUTH=Client%20Krb%20v2@myserver/myVolume" /Volumes/myVolume
81
82

SEE ALSO

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

HISTORY

88     The mount_afp command first appeared Mac OS X version 10.0. Kerberos
89     authentication was added in Mac OS X version 10.2.  This syntax (and man‐
90     page) was used for afpfs-ng's fuse implementation.
91

RETURN VALUES

93     0                  mount_afp successfully mounted the volume directory.
94
95     -1                 The server volume could not be mounted.
96

SEE ALSO

98      afp_client(1), afpfsd(1)
99
100Mac OS X                          Feb 1, 2008                         Mac OS X
Impressum