Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

exportfs(1b) [minix man page]

exportfs(1B)					     SunOS/BSD Compatibility Package Commands					      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. 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). ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWnfssu | +-----------------------------+-----------------------------+ SEE ALSO
share(1M), shareall(1M), unshare(1M), unshareall(1M), attributes(5) SunOS 5.10 6 Nov 2000 exportfs(1B)

Check Out this Related Man Page

share(1M)																 share(1M)

NAME
share - make local resource available for mounting by remote systems SYNOPSIS
FSType] specific_options] description] [pathname] DESCRIPTION
The command exports, or makes a resource available for mounting, through a remote file system of type FSType. If the option is omitted, the first file system type listed in is used as default. For a description of NFS specific options, see share_nfs(1M). pathname is the pathname of the directory to be shared. When invoked with no arguments, displays all shared file systems. Options recognizes the following options: Specify the file system type. The specific_options are used to control access of the shared resource. (See share_nfs(1M) for NFS specific options.) They may be any of the following: pathname is shared read/write to all clients. This is also the default behavior. Share the pathname read-mostly if option is not provided. Read-mostly means read-write to those clients specified and read-only for all other systems. If a option is provided, pathname is shared read/write only to the listed clients. No other systems can access pathname. pathname is shared read-only to all clients. pathname is shared read-only only to the listed clients. No other systems can access pathname. The flag may be used to provide a description of the resource being shared. WARNINGS
Old terminology (export) File system sharing used to be called on HP-UX, and was used for exporting file systems. With the new share NFS model, the command replaces exportfs(1M) or To support compatiblity with scripts that still invoke the exportfs command using the access= option, the share command will not fail when the access option is used and the syntax matches the usage of exportfs(1M) from a release of HP-UX that does not support the share(1M) com- mand. Attempts to use the access option with new share options, (i.e. sec=), may result in the access option begin rejected by the share command. It is highly recommended that the access option not be used with the share command. Instead, use the ro= and rw= option to achieve the desired access restrictions. This support of the access= option will be removed in a future release of HP-UX. If commands are invoked multiple times on the same file system, the last invocation supersedes the previous; the options set by the last command replace the old options. For example, if read-only permission was previously given to on use the following command to also give read-only permission to on This behavior is not limited to sharing the root file system, but applies to all file systems. EXAMPLES
The following command wll share the file system read-only. FILES
list of commands to be executed at boot time list of distributed file system types, NFS by default system record of shared file systems AUTHOR
was developed by Sun Microsystems, Inc. SEE ALSO
mountd(1M), nfsd(1M), share_nfs(1M), shareall(1M), unshare(1M), dfstab(4), fstypes(4), sharetab(4). share(1M)
Man Page