UNSHARE(8) Maintenance Commands and Procedures UNSHARE(8)

unshare - make local resource unavailable for mounting by remote systems

unshare [-p] [-F FSType] [-o specific_options]

[pathname | resourcename]

The unshare command makes a shared local resource unavailable as file system type FSType. If the option -FFSType is omitted, then the first file system type listed in file /etc/dfs/fstypes will be used as the default. Specific_options, as well as the semantics of resourcename, are specific to particular distributed file systems.

-F FSType

Specify the file system type.

-o specific_options

Specify options specific to the file system provided by the -F option.

-p

Remove resource from shared status in a way that persists across reboots.

/etc/dfs/fstypes

Lists distributed file system utilities packages installed on the system.

/etc/dfs/sharetab

Contains a table of local resources shared by the share command.

attributes(7), share(8), shareall(8)

If pathname or resourcename is not found in the shared information, an error message will be 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.

January 23, 2007 OmniOS