Manual Pages for UNIX Darwin command on man mount_webdav
MyWebUniversity

Manual Pages for UNIX Darwin command on man mount_webdav

MOUNTWEBDAV(8) BSD System Manager's Manual MOUNTWEBDAV(8)

NAME

mmoouunnttwweebbddaavv - mount a WebDAV filesystem

SYNOPSIS

mmoouunnttwweebbddaavv [-ss] [-SS] [-aafd] [-vv volumename] [-oo options]

[scheme://]host[:port][/path] node

DESCRIPTION

The mmoouunnttwweebbddaavv command mounts the WebDAV-enabled server directory at

[scheme://]host[:port][/path] at the mount point indicated by node. The user and group IDs for all files and directories are set to unknown, and the permissions default to read, write and execute for user, group and other. The arguments and options are:

-ss Require that authentication credentials be sent securely to the

server. Note: If this option is not set, sending authentication credentials insecurely to the server will be allowed but will be logged.

-SS Suppresses all user interface including the authentication

dialogs and the non-responsive ("disconnect") server dialogs. If

the server connection becomes non-responsive, the file system is

immediately unmounted when this option has been used.

-aafd A file descriptor which identifies a file containing the username

and the password. This option is deprecated in Mac OS X 10.4 and

may not be supported in future releases. Use the FSMountServer-

VolumeSync() and FSMountServerVolumeAsync() APIs in Carbon-

Core/Files.h instead.

-oo Options passed to mount(2) are specified with the -oo option fol-

lowed by a comma-separated string of options. See the mount(8)

man page for possible options and their meanings. If connecting to a Class 1 compliant WebDAV server, the rdonly option will be set even if it was not specified because mountwebdav will not allow files to be opened with write access on servers which do not support the DAV LOCK method.

-vv volumename

Allows the volumename attribute (ATTRVOLNAME) returned by

getattrlist(2) to be specified. If the volumename is not speci-

fied, the last path component name of the node path is used as the volumename. [scheme://]host[:port][/path]

The WebDAV-enabled server directory (collection resource) to

mount as a volume. The scheme, if specified, must be "http://" or "https://". If the scheme is not specified, then "http://" is used. If the port is not specified, then port 80 is used when the scheme is "http://" or port 443 is used when the scheme is "https://". If the path is not specified, then the path "/" is used. node Path to mount point. EEXXAAMMPPLLEESS

The following example illustrates how to mount the WebDAV-enabled server

directory http://idisk.mac.com/membername/ at the mount point /Volumes/mntpnt/. mountwebdav http://idisk.mac.com/membername/ /Volumes/mntpnt/ DIAGNOSTICS The mmoouunnttwweebbddaavv utility exits 0 on success, and >0 if an error occurs. Here is a list of common results (other error results not listed may be returned):

0 mmoouunnttwweebbddaavv successfully mounted the server direc-

tory. [ENOENT] The server directory could not be mounted by mmoouunnttwweebbddaavv because the node path is invalid. [ENODEV] The server directory could not be mounted by

mmoouunnttwweebbddaavv because it is not WebDAV-enabled or

because it does not exist, or because node does not have proper access. [ECANCELED] The server directory could not be mounted by mmoouunnttwweebbddaavv because the user did not provide proper authentication credentials. CCOOMMPPAATTIIBBIILLIITTYY

As noted above, the -aafd option is considered deprecated in Mac OS X 10.4

and may not be supported in future releases. Use the FSMountServerVol-

umeSync() and FSMountServerVolumeAsync() APIs in CarbonCore/Files.h instead.

SEE ALSO

mount(2), unmount(2), mount(8) getattrlist(2) HISTORY The mmoouunnttwweebbddaavv command first appeared Mac OS X Version 10.0. Support for HTTP Digest Access authentication was added in Mac OS X Version

10.1.1. Support for the https URL scheme, and for additional authentica-

tion methods and proxies supported by the CFNetwork framework were added in Mac OS X Version 10.4. Mac OS X August 22, 2005 Mac OS X




Contact us      |      About us      |      Term of use      |       Copyright © 2000-2019 MyWebUniversity.com ™