Go to main content

man pages section 8: System Administration Commands

Exit Print View

Updated: Thursday, June 13, 2019
 
 

unshareall(8)

Name

shareall, unshareall - publish or unpublish multiple shares

Synopsis

shareall [-F FSType [,
FSType]...] [ | file]
unshareall [-F FSType
 [,FSType]...]

Description

When used with no arguments, shareall publishes shares from a specified file that contains a list of share command lines. If the operand is a hyphen (-), then the share command lines are obtained from standard input. Otherwise, if neither a file nor a hyphen is specified, then shares are published from the SMF shares repository.

Shares can be specified by identifying the file system type in a comma-separated list as an argument to –F.

The unshareall command unpublishes all published file system shares. Without an –F flag, it unpublishes all distributed file system shares.

Options

–F FSType

Specify file system type. Defaults to the first entry in /etc/dfs/fstypes.

Files

/etc/dfs/dfstab

Attributes

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
system/core-os

See Also

attributes(7), share(8), unshare(8)