手册页部分 1: 用户命令

退出打印视图

更新时间: 2014 年 7 月
 
 

exportfs(1B)

名称

exportfs - translates exportfs options to share/unshare commands

用法概要

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

描述

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.

选项

–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 attributes(5) for descriptions of the following attributes:

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

另请参见

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