xref: /titanic_41/usr/src/man/man1m/shareall.1m (revision 430b4c467020edf2445feb0c21db01c88b86243a)
te
Copyright 1989 AT&T Copyright (c) 1995, Sun Microsystems, Inc. All Rights Reserved
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
shareall 1M "6 Nov 2000" "SunOS 5.11" "System Administration Commands"
NAME
shareall, unshareall - share, unshare multiple resources
SYNOPSIS

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

unshareall [-F FSType [,FSType]...]
DESCRIPTION

When used with no arguments, shareall shares all resources from file, which contains a list of share command lines. If the operand is a hyphen (-), then the share command lines are obtained from the standard input. Otherwise, if neither a file nor a hyphen is specified, then the file /etc/dfs/dfstab is used as the default.

Resources may be shared by specific file system types by specifying the file systems in a comma-separated list as an argument to -F.

unshareall unshares all currently shared resources. Without a -F flag, it unshares resources for all distributed file system types.

OPTIONS

-F FSType

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

FILES

/etc/dfs/dfstab

SEE ALSO

share(1M), unshare(1M), attributes(5)