Go to main content

man pages section 1: User Commands

Exit Print View

Updated: July 2017
 
 

exportfs(1B)

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.

This command is obsolete and will be removed in a future release of Oracle Solaris. Use share(1M) unshare(1M) or instead.

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).

Attributes

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

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
service/file-system/nfs

See Also

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