Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

unshare(1m) [opensolaris man page]

unshare(1M)						  System Administration 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. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ 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. SunOS 5.11 23 Jan 2007 unshare(1M)

Check Out this Related Man Page

dfshares(1M)						  System Administration Commands					      dfshares(1M)

NAME
dfshares - list available resources from remote or local systems SYNOPSIS
dfshares [-F FSType] [-h] [-o specific_options] [server]... DESCRIPTION
dfshares provides information about resources available to the host through a distributed file system of type FSType. specific_options as well as the semantics of server are specific to particular distributed file systems. If dfshares is entered without arguments, all resources currently shared on the local system are displayed, regardless of file system type. The output of dfshares consists of an optional header line (suppressed with the -h flag) followed by a list of lines containing whitespace- separated fields. For each resource, the fields are: resource server access transport where resource Specifies the resource name that must be given to the mount(1M) command. server Specifies the name of the system that is making the resource available. access Specifies the access permissions granted to the client systems, either ro (for read-only) or rw (for read/write). If dfshares cannot determine access permissions, a hyphen (-) is displayed. transport Specifies the transport provider over which the resource is shared. A field may be null. Each null field is indicated by a hyphen (-) unless the remainder of the fields on the line are also null; in which case, the hyphen may be omitted. OPTIONS
-F FSType Specify filesystem type. Defaults to the first entry in /etc/dfs/fstypes. -h Suppress header line in output. -o specific_options Specify options specific to the filesystem provided by the -F option. FILES
/etc/dfs/fstypes ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
dfmounts(1M), mount(1M), share(1M), unshare(1M), attributes(5) SunOS 5.11 6 Nov 2000 dfshares(1M)
Man Page