View Full Version : [all variants] sharing a file via NFS

May 2nd, 2011, 05:59 AM
Is it possible to share a file via NFS? Or only the folders can be shared?

For example I have shared /opt like this in /etc/exports

/opt,no_subtree_check,sync,no_root_squ ash)

and in the client's /etc/fastab I wrote: /opt nfs defaults 0 0

It is ok and work fine. How about sharing a file? What should I write in the /etc/fstab?