To map a network drive in Windows NT 4.0
You can specify the path as:
serverName:/path
(for example: goldbug:/poe/stories
)
or as:
\\serverName\path
(for example: \\goldbug\poe\stories
).
Notes
mount [–o options] [–u:username] [–p:{password | *}] computerName:/shareName {deviceName | *}
or
mount [–o options] [–u:username] [–p:{password | *}] \\computerName\shareName {deviceName | *}
Argument | Description |
---|---|
–o rsize=n | The read buffer size, in kilobytes. Acceptable values are 1, 2, 4, 8, 16, and 32; the default is 32 KB. |
–o wsize=n | The write buffer size, in kilobytes. Acceptable values are 1, 2, 4, 8, 16, and 32; the default is 32 KB. |
–o timeout=n | The time-out for a remote procedure call (RPC), in seconds. Acceptable values are 0.8, 0.9, and any integer in the range 1-60; the default is 0.8. |
–o retry=n | 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} | Soft or hard mount. Regardless of the mount type, mount will return if it cannot immediately mount the share. However, once the share has been successfully mounted, 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 network file system (NFS) server is unavailable, the Windows application trying to access the share will appear to stop responding, or "hang," if the mount type is hard. |
–o anon | Mounts as anonymous user. |
–o nolock | Disables locking. This option might improve performance if you only need to read files. |
-o lang={euc-jp|euc-tw|euc-kr|shift-jis|big5|ksc5601|gb2312-80|ansi} | Specifies the default encoding used for file and directory
names and, if used, must be set to one of the following:
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:
|
-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 and group
and the world, respectively. The digits must be in the range
|
–o pcnfs=server | Specifies the PCNFS server that is to be used for authenticating the user. You must use the -u and -p options to specify the name of the user and password with this option. |
–u:username | The user name of the user to use for mounting the share. |
–p:{password | *} | The password of the user to use for mounting the share. If you use the asterisk (*), you will be prompted for the password. |
computerName | The name of the server with the share to mount. |
shareName | The name of the shared directory to mount. |
deviceName | * | The drive letter to assign to the mounted share. The asterisk (*) means use the next available letter. |
Notes
mount /?
Related Topics