[haiku] Re: NFS issue

  • From: Stephan Aßmus <superstippi@xxxxxx>
  • To: haiku@xxxxxxxxxxxxx
  • Date: Mon, 21 Mar 2016 10:02:50 +0100

Hi,

Am 19.03.2016 um 18:02 schrieb Humdinger (Redacted sender "humdingerb" for 
DMARC) <dmarc-noreply@xxxxxxxxxxxxx>:
FWIW, I added a short info on it to "Haiku-specific commandline apps".
Tell me that's OK:

"
mountvolume is preferred by many to mount local partitions and disks,
because its usage is so easy: just call it with the name of the
partition and you're done. Try --help for more options.

mount can additionally mount remote disks by using a network
filesystem, like NFS4. You specify the used filesystem with the
-tparameter and the remote location with the -p parameter. As
filesystem parameter you can use anything you find in
/system/add-ons/kernel/file_system (and corresponding file hierarchies
under ~/config or "non-packaged", of course). You also have create a
folder as mountpoint. Here's an example:

mkdir -p /DiskStation
mount -t nfs4 -p "192.168.178.3:volume1" /DiskStation


The guides that I came across for creating NFS exports on Linux all created 
them in /mnt/nameofshare. So I would use that in the example:

mount -t nfs4 -p „192.168.178.3:/mnt/volume1" /DiskStation


Or is that actually wrong and it has to be just the name of the share? I am 
referring to what Glenn wrote what worked for him. I think I also had to 
specific the absolute path syntax, but it is a long time ago.

Best regards,
-Stephan


Other related posts: