mount - Windows command-line utility to mount network file
system (NFS) network shares
SYNOPSIS
mount [-o option[...]] [-u:username] [-p:password| *]
[{\\computername\sharename|computername:/sharename}]
[devicename| *]
DESCRIPTION
The mount Windows command-line utility mounts the file
system identified by sharename exported by the NFS server
identified by ComputerName and associates it with the drive
letter specified by DeviceName or, if an asterisk (*)
is used, by the first available driver letter. Users can then
access the exported file system as though it were a drive on the
local computer. When used without options or arguments,
mount displays information about all mounted NFS file
systems.
The mount utility is available only if Client for NFS is
installed.
The following options and arguments can be used with the
mount utility.
-u:username
Specifies the user name to use for mounting the share. If
username is not preceded by a backslash (\), it is
treated as a UNIX user name.
-p:password
The password to use for mounting the share. If you use an
asterisk (*), you will be prompted for the password.
-o rsize=[buffersize]
Sets the size in kilobytes of the read buffer. Acceptable
values are 1, 2, 4, 8, 16, and 32; the default is 32 KB.
-o wsize=[buffersize]
Sets the size in kilobytes of the write buffer. Acceptable
values are 1, 2, 4, 8, 16, and 32; the default is 32 KB.
-o timeout=[seconds]
Sets the time-out value in seconds for a remote procedure call
(RPC). Acceptable values are 0.8, 0.9, and any integer in the range
1-60; the default is 0.8.
-o retry=[number]
Sets the number of retries for a soft mount. Acceptable values
are integers in the range 1-10; the default is 1.
-o mtype=[soft | hard]
Sets the mount type (default is soft). Regardless of the
mount type, mount will return if it cannot immediately mount
the share. Once the share has been successfully mounted, however,
if the mount type is hard, Client for NFS will continue to
try to access the share until it is successful. As a result, if the
NFS server is unavailable, any Windows program trying to access the
share will appear to stop responding, or "hang," if the mount type
is hard.
-o anon
Mounts as an anonymous user.
-o nolock
Disables locking (default is enabled).
-o casesensitive
Forces file lookups on the server to be case sensitive.
-o fileaccess=mode
Specifies the default permission mode of new files created on
the NFS share. Specify mode as a three-digit number in the
form ogw, where o, g, and w are each a
digit representing the access granted the file's owner, group, and
the world, respectively. The digits must be in the range
0–7 with the following meaning:
0: No access
1: x (execute access)
2: w (write access)
3: wx
4: r (read access)
5: rx
6: rw
7: rwx
Interix utilities and applications do not use these default
permissions when creating a file on the NFS share. Instead, they
set permissions according to the user's default mode settings as
set by the umask(1) utility.
Specifies the default encoding used for file and directory
names and, if used, must be set to one of the following:
ansi
big5 (Chinese)
euc-jp (Japanese)
euc-kr (Korean)
euc-tw (Chinese)
gb2312-80 (Simplified Chinese)
ksc5601 (Korean)
shift-jis (Japanese)
If this option is set to ansi on systems configured for
non-English locales, the encoding scheme is set to the default
encoding scheme for the locale. The following are the default
encoding schemes for the indicated locales:
Japanese: SHIFT-JIS
Korean: KS_C_5601-1987
Simplified Chinese: GB2312-80
Traditional Chinese: BIG5
NOTES
If you make a persistent connection with mount, you must
use umount(1w) to delete the
connection. Neither the net use command nor
Microsoft Windows Explorer will delete these
connections.
You cannot use mount to create a persistent connection
using PCNFS authentication. Before attempting to use mount
with PCNFS authentication, at a Windows command prompt, type the
command net use /persistent:no to disable
persistent connections.