gwshare - Windows command-line utility to manage Gateway for NFS shares



gwshare delete {-a | devicename}

gwshare add -d drivename -n networkresource -s sharename
		[-c comment] [-u users] [-m {yes | no}]
		[-l {euc-jp|euc-tw|euc-kr|shift-jis|big5|ksc5601|gb2312-80|ansi]


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 gwshare delete devicename, 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:

-d drivename
Specifies the drive on which to mount the network file system (NFS) share.
-n networkresource
Specifies the NFS server and path in universal naming convention (UNC) format: \\server\share
-s sharename
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.
-c comment
Specifies optional text to display when information about the share is displayed.
-u users
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.
-l {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:



Using Gateway for NFS Configuration