rewrite NAS mount code

need testing on NFS mount