Nfsshare Command In Windows Server 2008
This article describes the command Nfsshare in Windows Server 2008 operating system and syntax related with it.
Introduction
Nfsshare command in Windows Server 2008 is used to control Network File System (NFS) shares. Nfsshare command lists all NFS shares exported by server for NFS, if it is used without parameter. Syntax used for Nfsshare command is given below.
Syntax
nfsshare <ShareName> = <Drive : Path> [-o <Option=value>...]
nfsshare {<ShareName> | <Drive>:<Path> | *}/delete
|
Parameters For Nfsshare
Parameter |
Description |
-o anon={yes | no} |
Defines whether anonymous users can access shared the directory. |
-o rw[=<Host>[:<Host>]...] |
Provides read-write access to the shared directory by the hosts or client groups defined by the host. |
-o ro[=<Host>[:<Host>]...] |
Provides read-only access to the shared directory by the hosts or client groups defined by the host. |
-o encoding={big5|euc-jp|euc-kr|euc-tw|gb2312-80|ksc5601|shift-jis} |
Defines the default encoding used for file and directory names. |
-o anongid=<gid> |
Defines whether anonymous users will access the share directory using gid as their group identifier. |
-o anonuid=<uid> |
Defines whether anonymous users will access the share directory using uid as their user identifier. |
-o root[=<Host>[:<Host>]...] |
Provide root access to the shared directory by the host or client groups defined by host. |
/delete |
If ShareName or Drive:Path is defined, deletes the defined share. |
Got a programming related question? You may want to post your question here