xref: /illumos-gate/usr/src/man/man1b/exportfs.1b (revision 20a7641f9918de8574b8b3b47dbe35c4bfc78df1)
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(8) and unshare(8). Use share(8)/ unshare(8) whenever possible.

OPTIONS
-a

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

-i

Ignore options in /etc/dfs/dfstab.

-u

Invokes unshare(8) 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(8) for information about individual options).

SEE ALSO

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