跳过导航链接 | |
退出打印视图 | |
手册页第 1M 部分:系统管理命令 Oracle Solaris 11 Information Library (简体中文) |
- make local resource unavailable for mounting by remote systems
unshare [-F protocol] [-a | [-t] [pathname | sharename]]
The unshare command unpublishes a file system share, which makes a shared local file system unavailable for file sharing protocol. If the -F protocol option is omitted, then the first file sharing procotol listed in the /etc/dfs/fstypes file used as the default sharing protocol.
Identify the file sharing protocol.
Unpublish all active shares.
Temporarily unpublish a share. By default, all shares are permanently unpublished.
List of file sharing protocols. NFS is the default file-sharing protocol.
Contains a table of local resources published by the share command.
See attributes(5) for descriptions of the following attributes:
|
share(1M), shareall(1M), attributes(5)
If pathname or resourcename is not found in the share information, an error message is sent to standard error.
When an unshare command completes successfully, a client mounting a file system specified in that unshare command no longer has access to that file system.