The gwshare Windows command-line utility adds, lists, and
deletes Gateway for NFS shares.
When used without arguments, gwshare lists all
shares.
To remove a specific share, use gwsharedeletedevicename, where devicename specifies the drive
letter mapped to a Gateway for NFS share. To remove all shares, use
gwshare delete -a.
To create a new share, use gwshare add with the following
arguments and options:
-ddrivename
Specifies the drive on which to mount the network file system
(NFS) share.
-nnetworkresource
Specifies the NFS server and path in universal naming
convention (UNC) format:
\\server\share
-ssharename
Specifies the name of the share. Windows clients will be able
to access the gateway through this share name. Thus, if the name of
the share is NFSfiles and the name of the computer running
Gateway for NFS is \\gway, Windows clients will access it as
\\gway\NFSfiles.
-ccomment
Specifies optional text to display when information about the
share is displayed.
-uusers
Specifies the maximum number of users permitted on the
share.
-m {yes|no}
Allows or disallows Windows users who do not have accounts
mapped to UNIX accounts by User Name Mapping to access files in the
NFS directory.
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
To view the complete syntax for this command, at a command
prompt, type:
gwshare /?
The EUC is an encoding scheme that is used to represent
multibyte characters in UNIX. You should enable the EUC set if NFS
users using Japanese UNIX systems can access files on this
server.