Configure /etc/exports

Sample entries for /etc/exports for each host have been created in hostsdir/ip/exports, however, these will have to be somehow merged together. I currently use something similar to:


/var/lib/diskless/chocbit/192.168.87.130 192.168.87.130(rw no_root_squash)
/var/lib/diskless/chocbit/192.168.87.133 192.168.87.133(rw no_root_squash)
/var/lib/diskless/chocbit/192.168.87.137 192.168.87.137(rw no_root_squash)
/home 192.168.87.0/255.255.255.0(rw no_root_squash)

/var/lib/diskless/chocbit/root 192.168.87.0/255.255.255.0(ro no_root_squash)
/usr 192.168.87.0/255.255.255.0(ro no_root_squash)

nfsd must be restarted after editing /etc/exports. I use (as root):


/etc/init.d/netstd_nfs stop
/etc/init.d/netstd_nfs start

This may also work:


/etc/init.d/netstd_nfs reload