Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

unshare(1M)

share_nfs(1M)

share_rfs(1M)

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 system.  When invoked with no arguments, share displays all resources shared by the local system. 

OPTIONS

−F FSType Specify the filesystem type. 

−o specific_options The specific_options are used to control access of the shared resource.  They may be any of the following:

rwpathname 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. 

ropathname 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. 

−d description 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), share_nfs(1M), share_rfs(1M)

SunOS 5.1/SPARC  —  Last change: 5 Jul 1990

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026