share(1M) MISC. REFERENCE MANUAL PAGES share(1M)
NAME
share - make local resource available for mounting by remote
systems
SYNOPSIS
share [-F fstype] [-o specific_options] [-d description]
[pathname [resourcename]]
DESCRIPTION
The share command makes a resource available for mounting
through a remote file system of type fstype. If the option
-F fstype is omitted, 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. When
invoked with only a file system type, share displays all
resources shared by the given file system to the local sys-
tem. When invoked with no arguments, share displays all
resources shared by the local system. The access_spec is
used to control access of the shared resource. It may be
one of the following:
rw pathname is shared read/write to all
clients. This is also the default
behavior.
rw=client[:client]...
pathname is shared read/write only to
the listed clients. No other systems
can access resourcename.
ro pathname is shared read-only to all
clients.
ro=client[:client]...
pathname is shared read-only only to the
listed clients. No other systems can
access pathname.
The -d flag may be used to provide a description of the
resource being shared.
FILES
/etc/dfs/dfstab
/etc/dfs/sharetab
/etc/dfs/fstypes
SEE ALSO
unshare(1M)
Last change: DFS 1