[503] in netbsd-help mailing list archive

home help back first fref pref prev next nref lref last post

Re: mount??share??

daemon@ATHENA.MIT.EDU (Greg Hudson)
Tue Dec 5 10:50:55 1995

To: I-Lin Wang <ilin@MIT.EDU>
Cc: netbsd-help@MIT.EDU
In-Reply-To: Your message of "Mon, 04 Dec 1995 14:14:51 EST."
             <9512041914.AA06071@m37-318-10.MIT.EDU> 
Date: Tue, 05 Dec 1995 10:52:44 EST
From: Greg Hudson <ghudson@MIT.EDU>

> Is it possible that when I login any Athena workstation, I can
> mount(?) my local netbsd machine's directory?

It's possible to do this in an insecure manner using the NFS server.
You should read the man page for exports(5); basically, what you want
to do is create an /etc/exports with:

	/some/directory/name -ro -mapall=nobody

and then turn on nfs_server in /etc/netstart.  Then you can mount your
local disk read-only from an Athena workstation with:

	mount -t nfs -e your-machine:/some/directory/name

If you want read-write access to your disk (which means everyone who
really wants it will have read-write access to the whole partition),
remove the "-ro -mapall=nobody" from the /etc/exports line.

home help back first fref pref prev next nref lref last post