[498] in netbsd-help mailing list archive
Re: mount??share??
daemon@ATHENA.MIT.EDU (Yoav Yerushalmi)
Mon Dec 4 19:44:58 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: Mon, 04 Dec 1995 19:41:44 EST
From: Yoav Yerushalmi <yoav@MIT.EDU>
yes, it is possible.
what you will need to do is set up your machine to export part
of your filesystem via NFS.
to server nfs, you need to configure your machine as an NFS server.
to read about how to do this, do:
man nfsd
man exports
once you have set up your exports file correctly (/etc/exports)
you should turn on your NFS service by editing
/etc/netstart, and replacing the line
nfs_server=NO
with
nfs_server=YES
if all goes well, after you reboot, your machine will serve NFS. the next
step is to mount your machine, so from an athena workstation, you should be
able to type (assuming I was exporting /u1/var/tmp from my machine -- catch-22)
mount -t nfs catch-22:/u1/var/tmp
and be able to
cd /catch-22/u1/var/tmp
and read the files in there.
BE REALLY CAREFUL WHEN SETTING UP /ETC/EXPORTS
it is very easy to accidentaly let people screw with your machine that way.
--
-------------------------------------------------------
| Yoav Yerushalmi | My opinions are mine.. |
| M.I.T student at large | so back off!! |
| http://www.mit.edu:8001/people/yoav/homepage.html |
-------------------------------------------------------