6324 Add an `ndp' tool for manipulating the neighbors table
[illumos-gate.git] / usr / src / man / man1m / unshare.1m
blob8a1d8f98065e58a94474509cfff3515a8c1fe397
1 '\" te
2 .\" Copyright 2000, Sun Microsystems, Inc.  All Rights Reserved
3 .\" Copyright 1989 AT&T
4 .\" 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.
5 .\" 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.
6 .\" 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]
7 .TH UNSHARE 1M "Jan 23, 2007"
8 .SH NAME
9 unshare \- make local resource unavailable for mounting by remote systems
10 .SH SYNOPSIS
11 .LP
12 .nf
13 \fBunshare\fR [\fB-p\fR] [\fB-F\fR \fIFSType\fR] [\fB-o\fR \fIspecific_options\fR]
14      [\fIpathname\fR | \fIresourcename\fR]
15 .fi
17 .SH DESCRIPTION
18 .sp
19 .LP
20 The \fBunshare\fR command makes a shared local resource unavailable as file
21 system type \fIFSType\fR. If the option \fB-F\fR\fIFSType\fR is omitted, then
22 the first file system type listed in file \fB/etc/dfs/fstypes\fR will be used
23 as the default. \fISpecific_options\fR, as well as the semantics of
24 \fIresourcename\fR, are specific to particular distributed file systems.
25 .SH OPTIONS
26 .sp
27 .ne 2
28 .na
29 \fB\fB-F\fR \fIFSType\fR\fR
30 .ad
31 .sp .6
32 .RS 4n
33 Specify the file system type.
34 .RE
36 .sp
37 .ne 2
38 .na
39 \fB\fB-o\fR \fIspecific_options\fR\fR
40 .ad
41 .sp .6
42 .RS 4n
43 Specify options specific to the file system provided by the \fB-F\fR option.
44 .RE
46 .sp
47 .ne 2
48 .na
49 \fB\fB-p\fR\fR
50 .ad
51 .sp .6
52 .RS 4n
53 Remove resource from shared status in a way that persists across reboots.
54 .RE
56 .SH FILES
57 .sp
58 .ne 2
59 .na
60 \fB\fB/etc/dfs/fstypes\fR\fR
61 .ad
62 .sp .6
63 .RS 4n
64 Lists distributed file system utilities packages installed on the system.
65 .RE
67 .sp
68 .ne 2
69 .na
70 \fB\fB/etc/dfs/sharetab\fR\fR
71 .ad
72 .sp .6
73 .RS 4n
74 Contains a table of local resources shared by the \fBshare\fR command.
75 .RE
77 .SH SEE ALSO
78 .sp
79 .LP
80 \fBshare\fR(1M), \fBshareall\fR(1M), \fBattributes\fR(5)
81 .SH NOTES
82 .sp
83 .LP
84 If \fIpathname\fR or \fIresourcename\fR is not found in the shared information,
85 an error message will be sent to standard error.
86 .sp
87 .LP
88 When an \fBunshare\fR command completes successfully, a client mounting a file
89 system specified in that \fBunshare\fR command no longer has access to that
90 file system.