UNSHARE(1M) Maintenance Commands UNSHARE(1M)


NAME


unshare - make local resource unavailable for mounting by remote systems

SYNOPSIS


unshare [-p] [-F FSType] [-o specific_options]
[pathname | resourcename]


DESCRIPTION


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.

OPTIONS


-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.


FILES


/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.


SEE ALSO


share(1M), shareall(1M), attributes(5)

NOTES


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 UNSHARE(1M)