Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!newspump.sol.net!ddsw1!news.mcs.net!www.nntp.primenet.com!nntp.primenet.com!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!awfulhak.demon.co.uk!not-for-mail From: brian@anorak.coverform.lan (Brian Somers) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: NFS exports question Date: 16 Oct 1996 01:00:59 +0100 Organization: Coverform Ltd. Lines: 28 Sender: brian@awfulhak.demon.co.uk Message-ID: <5418jr$246@anorak.coverform.lan> References: <stanbDz8rtG.I37@netcom.com> Reply-To: brian@awfulhak.demon.co.uk NNTP-Posting-Host: anorak.coverform.lan X-NNTP-Posting-Host: awfulhak.demon.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Newsreader: knews 0.9.8 In article <stanbDz8rtG.I37@netcom.com>, stanb@netcom.com (Stan Brown) writes: : 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/.... : : 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,. : : 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 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. This is a good reason to make all you symlinks relative ! -- Brian <brian@awfulhak.demon.co.uk> <http://www.awfulhak.demon.co.uk/> Don't _EVER_ lose your sense of humour.... .