| United States-English |
|
|
|
![]() |
HP-UX Reference > Sshare(1M)HP-UX 11i Version 3: February 2007 |
|
NAMEshare — make local resource available for mounting by remote systems DESCRIPTIONThe share command exports, or makes a resource available for mounting, through a remote file system of type FSType. If the option -F FSType is omitted, the first file system type listed in /etc/dfs/fstypes 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, share displays all shared file systems. Optionsshare recognizes the following options:
WARNINGSOld terminology (export)File system sharing used to be called exporting on HP-UX, and exportfs was used for exporting file systems. With the new share NFS model, the share command replaces exportfs(1M) or /usr/sbin/exportfs. If share commands are invoked multiple times on the same file system, the last share invocation supersedes the previous; the options set by the last share command replace the old options. For example, if read-only permission was previously given to usera on somefs, use the following share command to also give read-only permission to userb on somefs: share -F nfs -o ro=usera:userb /somefs This behavior is not limited to sharing the root file system, but applies to all file systems. FILES
SEE ALSOmountd(1M), nfsd(1M), share_nfs(1M), shareall(1M), unshare(1M), dfstab(4), fstypes(4), sharetab(4). |
||||||||||||||||||||||||||||
|
|||||||||||||||