Friday, October 28, 2011

NFS shares

Show NFS shares exported from a host (can also point to localhost):
showmount -e 192.168.1.1
/etc/exports line on linux (share /blah with 192.168.1.2)
/blah               192.168.1.2(ro)
On the mac the options format is different. As with linux, root_squash to nobody is the default.
/blah -ro 192.168.1.2

No comments: