unshare(1M) System Administration Commands unshare(1M)NAMEunshare - make local resource unavailable for mounting by remote sys‐
tems
SYNOPSISunshare [-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.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
┌─────────────────────────────┬─────────────────────────────┐
│ ATTRIBUTE TYPE │ ATTRIBUTE VALUE │
├─────────────────────────────┼─────────────────────────────┤
│Availability │SUNWcs │
└─────────────────────────────┴─────────────────────────────┘
SEE ALSOshare(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.
SunOS 5.11 23 Jan 2007 unshare(1M)