[haiku] Re: NFS issue

  • From: pete.goodeve@xxxxxxxxxxxx
  • To: haiku@xxxxxxxxxxxxx
  • Date: Mon, 21 Mar 2016 13:59:27 -0700

On Mon, Mar 21, 2016 at 11:55:12AM -0700, pete.goodeve@xxxxxxxxxxxx wrote:


On 21 March 2016 at 18:27, François Revol <revol@xxxxxxx> wrote:
In theory, NFSv4 publishes a single virtual hierarchy where you can
mount from what you want, hence the full path to the exported mountpoint.


For me, it seems one should normally specify full path for both the remote
directory and the local mountpoint.  As I mentioned previously, I created 
/var/shared
as the directory to be shared on my Pi, and I have a /boot/home/sharedpi
mountpoint.  Those are both exactly what I provide in my mount command:

  mount -t nfs4 -p "192.168.1.8:/var/shared /boot/home/sharedpi


I just remembered one thing that's been omitted from this whole discussion.

To make the directories on the Pi accessible, I had to create a /etc/exports
file naming them.  (I actally have two different ones.)  Have others not needed 
this?
[The Pi itself seems to have no man pages on any of this, so I had to google for
info.]

        -- Pete --

Other related posts: