'\" 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] .TH UNSHARE 1M "Jan 23, 2007" .SH NAME unshare \- make local resource unavailable for mounting by remote systems .SH SYNOPSIS .LP .nf \fBunshare\fR [\fB-p\fR] [\fB-F\fR \fIFSType\fR] [\fB-o\fR \fIspecific_options\fR] [\fIpathname\fR | \fIresourcename\fR] .fi .SH DESCRIPTION .sp .LP The \fBunshare\fR command makes a shared local resource unavailable as file system type \fIFSType\fR. If the option \fB-F\fR\fIFSType\fR is omitted, then the first file system type listed in file \fB/etc/dfs/fstypes\fR will be used as the default. \fISpecific_options\fR, as well as the semantics of \fIresourcename\fR, are specific to particular distributed file systems. .SH OPTIONS .sp .ne 2 .na \fB\fB-F\fR \fIFSType\fR\fR .ad .sp .6 .RS 4n Specify the file system type. .RE .sp .ne 2 .na \fB\fB-o\fR \fIspecific_options\fR\fR .ad .sp .6 .RS 4n Specify options specific to the file system provided by the \fB-F\fR option. .RE .sp .ne 2 .na \fB\fB-p\fR\fR .ad .sp .6 .RS 4n Remove resource from shared status in a way that persists across reboots. .RE .SH FILES .sp .ne 2 .na \fB\fB/etc/dfs/fstypes\fR\fR .ad .sp .6 .RS 4n Lists distributed file system utilities packages installed on the system. .RE .sp .ne 2 .na \fB\fB/etc/dfs/sharetab\fR\fR .ad .sp .6 .RS 4n Contains a table of local resources shared by the \fBshare\fR command. .RE .SH SEE ALSO .sp .LP \fBshare\fR(1M), \fBshareall\fR(1M), \fBattributes\fR(5) .SH NOTES .sp .LP If \fIpathname\fR or \fIresourcename\fR is not found in the shared information, an error message will be sent to standard error. .sp .LP When an \fBunshare\fR command completes successfully, a client mounting a file system specified in that \fBunshare\fR command no longer has access to that file system.