SHAREFS(1M) SHAREFS(1M)
sharefs - enable a filesystem/directory to be accessible by another host.
/usr/sysadm/privbin/sharefs -f filesystem [ -o options ] [ -nu ]
/usr/sysadm/privbin/sharefs -a
Sharefs enables a filesystem/directory to be accessible by another host.
It is also known as exporting.
-f filesystem
The filesystem/directory name to be shared.
-o options
A list of share options as described in exports(4). If it is not
provided, the default ro,nohide is used.
-a share all the entries that are in /etc/exports. In this case all
other parameters and flags are ignored.
-n Do not write the share entry into the /etc/exports file, only share
it. In this case, if options is provided the entry is shared using
the options, otherwise the entry that matches filesystem that are
found in the /etc/exports file is shared as specified in the file.
If no entry is found then it shares with the default option or the
options provide by the user.
-u Update the entry that matches filesystem. If no options is
provided, the default options is used. If the entry doesn't exist,
it causes an error exit. The -u flag is ignored if -n is specified.
/etc/exports Static export information.
sysmgr(1M), runpriv(1M), exports(4), exportfs(1M), unsharefs(1M).
PPPPaaaaggggeeee 1111 [ Back ]
|