share(1M) UNIX System V(RFS) share(1M)
NAME
share - make local RFS resource available for mounting by remote systems
SYNOPSIS
share [-F rfs] [-o access_spec] [-d description] [pathname resourcename]
DESCRIPTION
The share command makes a resource available for mounting through Remote
File Sharing. The -F flag may be omitted if rfs is the first file system
type listed in the file /etc/dfs/fstypes. When invoked with only a file
system type (or no arguments), share displays all local resources shared
through Remote File Sharing.
The access_spec is used to control client access of the shared resource.
Clients may be specified in any of the following forms:
domain.
domain.system
system
The access_spec can be one of the following:
rw resourcename is shared read/write to all clients.
This is also the default behavior.
rw=client[:client]...
resourcename is shared read/write only to the listed
clients. No other systems can access resourcename.
ro resourcename is shared read-only to all clients.
ro=client[:client]...
resourcename is shared read-only only to the listed
clients. No other systems can access resourcename.
The -d flag may be used to provide a description of the resource being
shared.
ERRORS
If the network is not up and running or pathname is not a full path, an
error message will be sent to standard error. If pathname isn't on a
file system mounted locally or the client is specified but syntactically
incorrect, an error message will be sent to standard error. If the same
resource name in the network over the same transport provider is to be
shared more than once, an error message will be sent to standard error.
FILES
/etc/dfs/dfstab
/etc/dfs/sharetab
/etc/dfs/fstypes
10/89 Page 1
share(1M) UNIX System V(RFS) share(1M)
SEE ALSO
unshare(1M)
Page 2 10/89