The nfsshare command in windows
You can use the nfsshare command to control the shares on the Network File System (NFS).
Nfsshare command syntax
nfsshare = [-o
Describe the nfsshare command
If there are no arguments, the nfsshare command utility lists all the shares in the Network File System (NFS) exported by Server for NFS. With ShareName as the only argument, nfsshare will list the properties of the NFS shares defined by ShareName . When ShareName and Drive: Path are provided, nfsshare will export the directory identified by Drive : Path under the name ShareName . When the option / delete is used, the specified directory is no longer available for NFS clients.
Options of nfsshare
The nfsshare command accepts the following options and parameters:
Parameters
Define
no}
-o rw [= [:] .]
Provides read-write access to the directory shared by the Host or client group specified by the Host.Separate the Host name and the group name with a colon (:).If the Host is not specified, all servers and customer groups (except for Hosts specified with ro option) have read-write access. If no ro or rw options are set, all clients have read-write access to the shared directory.
-o ro [= [:] .]
Provide read-only access to the directory shared by the Host or client group specified by the Host host.Separate the Host name and the group name with a colon (:).If the Host is not specified, all clients (except Hosts specified with option rw ) have read-only access. If the ro option is set for one or more clients, but the rw option is not set, only clients specified with ro options have access to the shared folder.
-o encoding = {big5
euc-jp
-o anongid =
Specifying an anonymous (unmapped) user will access the shared folder using gid as an identifier for their group (GID).The default value is -2.An anonymous GID will be used when reporting the owner of a user-unmapped (unmapped) file, even if anonymous access is disabled.
-o anonuid =
Specifying an anonymous (unmapped) user will access the shared folder by using uid as an identifier for their group (UID).The default value is -2.An anonymous UID will be used when reporting the owner of a user-unmapped (unmapped) file, even if anonymous access is disabled.
-o root [= [:] .]
Provide root access to the directory shared by the Host or client group specified by the Host.Separate the Host name and the group with a colon (:).If the Host is not specified, all clients have root access.If the original option is not set, no client has root access to the shared folder.
/ delete
If ShareName or Drive: Path is specified, delete the specified section.If * is specified, delete all NFS shares.
Attention:
To see the full syntax for this Syntax, at the command prompt, type:
> nfsshare /?
See more:
- The net print command in Windows
- Netcfg command in Windows
- Nbtstat command in Windows
- Bitsadmin create command in Windows
- The command nfsadmin in Windows
You should read it
May be interested
- The nlbmgr command in Windowsapplies to windows server (semi-annual channel), windows server 2016, windows server 2012 r2, windows server 2012.
- What is CMOS and what is it used for?cmos (short for complementary metal-oxide-semiconductor - is a term to refer to a small amount of memory on a computer board, stored in the bios. some of these bios setup settings have time, date on the system as well as hardware settings.
- Nbtstat command in Windows(applies to: windows server (semi-annual channel), windows server 2016, windows server 2012 r2, windows server 2012)
- Netcfg command in Windowsapplies to windows server (semi-annual channel), windows server 2016, windows server 2012 r2, windows server 2012
- Bdehdcfg command in Windowsthe bdehdcfg command prepares a hard disk with the partitions needed for disk encryption with bitlocker. most installations of windows 7 will not need to use this tool.
- What is a DLL file? Why does the computer sometimes notice that the DLL file is missing?occasionally while using the computer, you receive an error message that states that windows cannot find a specific dll file.