share
Make local resource/filesystem available for mounting by remote systems. tldr-pages
On SunOS
SunOS
List all currently shared filesystems
shareShare a directory with read/write access
share -F nfs -o rw /path/to/directoryShare a directory with read-only access
share -F nfs -o ro /path/to/directoryShare a directory with specific options (e.g., allow root access from a specific host)
share -F nfs -o rw,root=hostname /path/to/directoryMake sharing persistent by adding entries to /etc/dfs/dfstab
echo "share -F nfs -o rw /path/to/directory" >>/etc/dfs/dfstabIdentify