From owner-freebsd-questions Fri Mar 30 10:50:22 2001 Delivered-To: freebsd-questions@freebsd.org Received: from nebula.anchoragerescue.org (cable-115-7-237-24.anchorageak.net [24.237.7.115]) by hub.freebsd.org (Postfix) with ESMTP id 8AC3B37B71E for ; Fri, 30 Mar 2001 10:50:18 -0800 (PST) (envelope-from akbeech@anchoragerescue.org) Received: from galaxy.anchoragerescue.org (galaxy.anchoragerescue.org [24.237.7.95]) by nebula.anchoragerescue.org (Postfix) with SMTP id 78E6FD2; Fri, 30 Mar 2001 09:50:17 -0900 (AKST) Content-Type: text/plain; charset="iso-8859-1" From: Beech Rintoul To: Wayne Pascoe , freebsd-questions@freebsd.org Subject: Re: exports file format Date: Fri, 30 Mar 2001 09:50:17 -0900 X-Mailer: KMail [version 1.2] References: In-Reply-To: MIME-Version: 1.0 Message-Id: <01033009501701.01222@galaxy.anchoragerescue.org> Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Friday 30 March 2001 06:35, Wayne Pascoe wrote: > Sorry for the stupid question, but I'm used to dealing with the format > of NFS exports on Linux systems. > > If I try and put multiple paths that I want exported in my exports > file on different lines, I get errors when I try and start nfs. An > example of these errors is as follows : > > Mar 30 16:31:27 dozer mountd[16649]: can't change attributes for > /web/VIRTUALHOSTS/asite Mar 30 16:31:27 dozer mountd[16649]: bad exports > list line /web/VIRTUALHOSTS/asite -mapall Mar 30 16:31:27 dozer > mountd[16649]: can't change attributes for /web/VIRTUALHOSTS/anothersite > Mar 30 16:31:27 dozer mountd[16649]: bad exports list line > /web/VIRTUALHOSTS/anothersite -mapall > > The exports file that generated this is as follows : > > /web/VIRTUALHOSTS/asite -mapall=web 194.205.134.19 > /web/VIRTUALHOSTS/anothersite -mapall=web 194.205.134.19 > > What is the correct way to export multiple directories? > > TIA, Try: /web/VIRTUALHOSTS/asite /web/VIRTUALHOSTS/anothersite -mapall=web 194.205.134.19 Beech ------------------------------------------------------------------- Beech Rintoul - Network Manager - akbeech@anchoragerescue.org /"\ ASCII Ribbon Campaign | Anchorage Gospel Rescue Mission \ / - NO HTML/RTF in e-mail | P.O. Box 230510 X - NO Word docs in e-mail | Anchorage, AK 99523-0510 / \ ----------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message