From owner-freebsd-questions Fri Sep 7 9:28:40 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 27CC537B403 for ; Fri, 7 Sep 2001 09:28:34 -0700 (PDT) Received: from there (galaxy.anchoragerescue.org [24.237.7.95]) by nebula.anchoragerescue.org (Postfix) with SMTP id 3D49B115; Fri, 7 Sep 2001 08:28:33 -0800 (AKDT) Content-Type: text/plain; charset="koi8-r" From: Beech Rintoul To: Vitaminoid , Paul Herman Subject: Re: nfs; exports Date: Fri, 7 Sep 2001 08:28:32 -0800 X-Mailer: KMail [version 1.3] Cc: freebsd-questions@FreeBSD.ORG References: <20010906162203.L8165-100000@tick.sc.omation.com> In-Reply-To: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <20010907162833.3D49B115@nebula.anchoragerescue.org> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thursday 06 September 2001 04:19 pm, Vitaminoid wrote: > On Thu, 6 Sep 2001 16:26:07 -0700 (PDT) > Paul Herman wrote: > > PH> On Fri, 7 Sep 2001, Vitaminoid wrote: > >> I've got some strange stuff with the nfs mounting. > >> Here is my exports file: > >> > >> root@moitd07# cat /etc/exports > >> /usr/ports/distfiles -ro moitd01 > >> /usr/bin -ro moitd01 > >> /var -ro moitd01 > >> /usr/local/bin -ro moitd01 > >> /usr/local/lib -ro moitd01 > >> /home/vitaminoid -ro moitd01 > > PH> I've found that putting all exports belonging to the same > PH> filesystem onto the same line solves most of my problems. > > Hmm! This seems to be uncomfortable! > What if i want to share different mountpoints on the same filesystem with > different attributes? You can't! Read man exports. Now i try to do it this way: > > /usr/local/lib /usr/bin /usr/local/bin /usr/ports/distfiles -ro > moitd01 /var -ro moitd01 > /home/vitaminoid -ro moitd01 > > and it tells me that > > Sep 7 11:17:11 moitd07 mountd[71803]: bad exports list line /usr/local/lib > /usr/bin /usr/local/bin /usr/ports/distfiles > > root@moitd07# mountd -rd > mountd: getting export list > mountd: got line /usr/local/lib /usr/bin /usr/local/bin > /usr/ports/distfiles -ro moitd01 mountd: making new ep > fs=0x3ad24d04,0x76b199e1 > mountd: got line /var -ro moitd01 > mountd: making new ep fs=0x3ad24d15,0x26e2ad4a > mountd: doing opt -ro moitd01 > mountd: got host moitd01.stm > mountd: got line /home/vitaminoid -ro moitd01 > mountd: making new ep fs=0x3ad24c72,0x6503b5b5 > mountd: doing opt -ro moitd01 > mountd: got host moitd01.stm > mountd: getting mount list > mountd: here we go > > so, your advice don't work.. > > > ------ > Некоторые боялись Пью, некоторые - Билли Бонса. > Меня боялся сам Флинт. Beech -- Micro$oft: "Where can we make you go today?" ------------------------------------------------------------------- Beech Rintoul - IT Manager - Instructor - 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