*BSD News Article 80805


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.rmit.EDU.AU!news.unimelb.EDU.AU!munnari.OZ.AU!metro!metro!asstdc.scgt.oz.au!nsw.news.telstra.net!nsw1.news.telstra.net!sa.news.telstra.net!vic.news.telstra.net!news.mira.net.au!inquo!nntp.uio.no!nntp.zit.th-darmstadt.de!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: NFS exports question
Date: 14 Oct 1996 22:18:17 GMT
Organization: Private BSD site, Dresden
Lines: 31
Message-ID: <53ue79$85v@uriah.heep.sax.de>
References: <stanbDz8rtG.I37@netcom.com>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E

stanb@netcom.com (Stan Brown) wrote:

> 	So for instance I could do a cd to /net/machine_name/usr/spool
> and be in that directory on the FreeBSD machine. Linux dose this by default
> if you export / you get all the filesystems mounted on it exported as
> one big filesyste,.

Linux has a userland NFS implementation which behaves quite different
from all the kernel NFS implementations around.

I'm not sure about the automounter part... but:

> 	I thought that I could do something like this with the -alldirs
> option in /etc/exports, but it doesn't seem to wokr the way I thought it
> would. Am I using this incorectly ? If so how can I acheive the desired
> result ?

You gotta export all the physical filesystems, one per line in
/etc/exports.  The -alldirs would only be needed if you want to allow
the remote machine to mount subdirectories of one physical filesystem
(which is not what you want here).  (The opposite to -alldirs is to
specify all the allowable export points explicitly, but even then, you
are still bound to use one single line per physical filesystem in the
exports file.)

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)