Re: auto mounting newtork shares

2007-05-29 Thread Norberto Meijome
On Mon, 28 May 2007 13:45:41 +0200 (CEST)
Zbigniew Szalbot [EMAIL PROTECTED] wrote:

 Is this done by editing fstab? But how do I save the password that needs
 to be given while mounting the share?

you can use fstab, or the automounter (amd), which basically automatically 
mounts anything you need when you try to access it. for example when you access 
/host/my.nfs.server/photos , amd will mount the photos export from 
my.nfs.server into that path. 

pretty cool.

_
{Beto|Norberto|Numard} Meijome

Either you are incompetent - or you are lying to me.
  Nigel Grange

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: auto mounting newtork shares

2007-05-28 Thread Paul Fraser

Hi,

Essentially, yes. Fstab is the appropriate place. To get you started,
here's (from memory) a line in my fstab file. (Sorry for the top-post
and vagueness by the way, typing from my mobile while on the train to
work...)

server:/path/to/host/share /mount/path/on/guest nfs
rw,tcp,intr,other_options_here 0 0

Best of luck,

Paul Fraser

On 5/28/07, Zbigniew Szalbot [EMAIL PROTECTED] wrote:

Hello,

A couple of days ago someone pointed me to mount_nfs to mount network file
share (thanks!). And now I wonder what I need to do to automatically mount
it at boot time.

Is this done by editing fstab? But how do I save the password that needs
to be given while mounting the share?

Thank you in advance!

--
Zbigniew Szalbot

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]




--
Regards,

Paul Fraser
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]