xref: /titanic_52/usr/src/man/man1b/exportfs.1b (revision 35b6f0471a5d938b98734483be3c5a258e319010)
te
Copyright (c) 1994, Sun Microsystems, Inc.
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]
EXPORTFS 1B "Nov 6, 2000"
NAME
exportfs - translates exportfs options to share/unshare commands
SYNOPSIS

/usr/sbin/exportfs [-aiuv] [-o options] [pathname]
DESCRIPTION

exportfs translates SunOS 4.x exportfs options to the corresponding share/unshare options and invokes share/unshare with the translated options.

With no options or arguments, exportfs invokes share to print out the list of all currently shared NFS filesystems.

exportfs is the BSD/Compatibility Package command of share(1M) and unshare(1M). Use share(1M)/ unshare(1M) whenever possible.

OPTIONS
-a

Invokes shareall(1M), or if -u is specified, invokes unshareall(1M).

-i

Ignore options in /etc/dfs/dfstab.

-u

Invokes unshare(1M) on pathname.

-v

Verbose.

-o options

Specify a comma-separated list of optional characteristics for the filesystems being exported. exportfs translates options to share-equivalent options. (see share(1M) for information about individual options).

SEE ALSO

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