xref: /titanic_52/usr/src/man/man1m/unshare.1m (revision 174bc6499d233e329ecd3d98a880a7b07df16bfa)
te
Copyright 2000, Sun Microsystems, Inc. All Rights Reserved
Copyright 1989 AT&T
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
UNSHARE 1M "Jan 23, 2007"
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.