Return to BSD News archive
Newsgroups: comp.unix.bsd.freebsd.misc 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!netcom.com!stanb From: stanb@netcom.com (Stan Brown) Subject: Re: NFS exports question Message-ID: <stanbDzG53G.GA4@netcom.com> Organization: NETCOM On-line Communication Services (408 261-4700 guest) X-Newsreader: NN version 6.5.0 #3 (NOV) References: <stanbDz8rtG.I37@netcom.com> <5418jr$246@anorak.coverform.lan> Date: Fri, 18 Oct 1996 00:52:28 GMT Lines: 35 Sender: stanb@netcom5.netcom.com brian@anorak.coverform.lan (Brian Somers) writes: >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. So does this mean that if I have / /usr and /var as seperate physical partitions, I can't mount all 3 from a remote system ? If I understad what you are saying I could only mount / and /var or / and /usr. Am I understanding this coreclty ? Or can I get all 3 if I put 3 lines in /etc/ecports ? -- Stan Brown stanb@netcom.com 404-996-6955 Factory Automation Systems Atlanta Ga. -- Look, look, see Windows 95. Buy, lemmings, buy! Pay no attention to that cliff ahead... Henry Spencer (c) 1996 Stan Brown. Redistribution via the Microsoft Network is prohibited.