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
- Instructions for using Command Promptdeep in windows is a command-line world that is obscure. in this article, we will show you how to solve errors and make your computer more secure.
- Rd command in Windowsthe rd command helps delete a directory
- Cmd command in Windowsthe cmd command starts a new version of the command interpreter, cmd.exe. if used without parameters, cmd will display copyright information and the version of the operating system.
- How to use the command history function in Command Promptcommand prompt is an extremely familiar command for anyone using windows operating system. besides, a lot of current software also supports the command line to perform actions on the command prompt window, instead of on the screen.
- The sfc command in Windows(applies to windows server (semi-annual channel), windows server 2016, windows server 2012 r2, windows server 2012)
- Reg command copy in Windowsto copy an entry to the location specified on the local pc or the remote computer we will use the reg copy command. to learn more about how to use the reg copy command, you can track the syntax, explain the command parameters and the example tipsmake.com has compiled below.
- Fc command in Windowsthe fc command compares two files or a collection of files and displays the differences between them.
- The echo command in Windowsthe echo command displays the message or turns on / off the command repeat feature. if used without parameters, the echo command will display the current echo setting.
- Xcopy command in Windowsthe xcopy command is a command prompt command used to copy one or more files or folders from one location to another. with many options and the ability to copy entire directories, the xcopy command is similar to, but much more powerful, than the copy command.
- The cacls command in Windowsthe cacls command displays or modifies an arbitrary access control list (dacl) on the specified file. the command applies to windows server (semi-annual channel), windows server 2016, windows server 2012 r2, windows server 2012.