*BSD News Article 81026


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!feed1.news.erols.com!howland.erols.net!EU.net!news2.EUnet.fr!newsbr.eunet.fr!usenet
From: Frederic.Marand@osinet.fr (Frederic MARAND)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: NFS exports question
Date: Fri, 18 Oct 1996 17:37:16 GMT
Organization: Groupe SEDI / Agorus SA / OSI SARL
Lines: 30
Message-ID: <548iga$7sf@newsbr.eunet.fr>
References: <stanbDz8rtG.I37@netcom.com> <5418jr$246@anorak.coverform.lan> <stanbDzG53G.GA4@netcom.com>
NNTP-Posting-Host: 193.107.196.155
X-Newsreader: Forte Free Agent 1.0.82

stanb@netcom.com (Stan Brown) wrote:

>>: 	I would like to set up my FreeBSD machine so that I can access
>>: all the filesystems on it from a reomte machine via an automounter.
>>: I other woreds, I have 3 filesystems / , /usr. and /var. I would
>>: like then all to appear on the remote machine as /net/mach_name/....
This is not exactly what the automounter is about: it should not allow
automounts to not-exported filesystems. Its goal is to automatically
mount the FS on YOUR client machine so that the command remotely
executed by "on" is executed in your file environment, not that of the
remote server.

>>: if you export / you get all the filesystems mounted on it exported as
>>: one big filesyste,.
And showing all FSes as a large one is sometimes useful, but is not
strictly NFS-compliant. However, it is tempting to do so: our own NFS
rewrites did just that too.

>>You need to export the individual physical mount points, and mount each
>>of these from the remote machine.  You can export at most one subdirectory
>>of a given physical mountpoint.

>/ and /usr. Am I understanding this coreclty ? Or can I get all 3 if
>I put 3 lines in /etc/ecports ?
Actually, defining 3 entries in /etc/exports will be your solution.

Frederic G. MARAND
Agorus SA / OSI SARL
Frederic.Marand@osinet.fr