From owner-freebsd-questions Mon Apr 23 6:20: 5 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-26-235-186.mmcable.com [65.26.235.186]) by hub.freebsd.org (Postfix) with SMTP id B94A737B43C for ; Mon, 23 Apr 2001 06:20:02 -0700 (PDT) (envelope-from mwm@mired.org) Received: (qmail 44602 invoked by uid 100); 23 Apr 2001 13:20:02 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15076.11266.33703.454038@guru.mired.org> Date: Mon, 23 Apr 2001 08:20:02 -0500 To: Vlad Cc: questions@freebsd.org Subject: Re: NFS question.. In-Reply-To: <41794892@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Vlad types: > Re, > > i've the following in my /etc/exports file: > > /usr/ports -maproot=0 192.168.0.10 192.168.0.1 > /home -maproot=0 192.168.0.10 192.168.0.1 > /mybox -maproot=0 192.168.0.10 192.168.0.1 > > however, if i add, say, "/root -maproot=0 192.168.0.10 192.168.0.1" to the file.. and restart mountd, it will not show > up in "showmount -e" nor will mount. if i erase "/mybox" entry, "/root" will appear.. looks like i can mount only 1 > directory from a given partition. am i doing something wrong or it is the way it should be? You normally get error messages under these conditions. To mount two directories from the same partition, follow the examples in the exports man page: /root /mybox -maproot=0 192.168.0.10 192.168.0.1 http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message