Manual page for share(1M)
share - make local resource available for mounting by remote systems
command exports, or 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 /etc/dfs/fstypes
is used as default.
For a description of NFS specific options, see
is the pathname of the directory to be shared.
When invoked with no arguments, share displays
all shared file systems.
- -F FSType
Specify the filesystem type.
- -o specific_options
are used to control access of the shared resource.
for the NFS specific options.)
They may be any of the following:
pathname is shared read/write to all clients.
This is also the default behavior.
pathname is shared read/write only to the
No other systems can
pathname is shared read-only to all clients.
pathname is shared read-only only to the
No other systems can access pathname.
- -d description
flag may be used to provide a description of the
resource being shared.
This line will share the
file system read-only at boot time.
share -F nfs -o ro /disk
commands to be executed at boot time
list of file system types, NFS by default
system record of shared file systems
Export (old terminology):
file system sharing used to be called exporting on SunOS 4.x, so the
command used to be invoked as
commands are invoked multiple times on the same filesystem, the last
invocation supersedes the previous--the options set by the last
command replace the old options. For example, if read-write permission was
then to give read-write permission also to
This behavior is not limited to sharing the root filesystem, but applies to all
example% share -F nfs -o rw=usera:userb /somefs
Created by unroff & hp-tools.
© by Hans-Peter Bischof. All Rights Reserved (1997).
Last modified 21/April/97