xref: /titanic_51/usr/src/man/man1m/shareall.1m (revision ed22c7109fc5dd9e1b7a5d0333bdc7ad2718e2ab)
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 "Nov 6, 2000"
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)