From owner-freebsd-questions Thu Sep 6 17:16:58 2001 Delivered-To: freebsd-questions@freebsd.org Received: from cwst.ru (relay.cwst.ru [217.148.193.2]) by hub.freebsd.org (Postfix) with ESMTP id DAFDC37B401 for ; Thu, 6 Sep 2001 17:16:48 -0700 (PDT) Received: from [217.148.194.10] (HELO moitd01.stm) by cwst.ru (CommuniGate Pro SMTP 3.4.4) with SMTP id 1184974; Fri, 07 Sep 2001 11:09:56 +1100 Date: Fri, 7 Sep 2001 11:19:29 +1100 From: Vitaminoid To: Paul Herman Cc: freebsd-questions@FreeBSD.ORG Subject: Re: nfs; exports In-Reply-To: <20010906162203.L8165-100000@tick.sc.omation.com> References: <20010906162203.L8165-100000@tick.sc.omation.com> X-Mailer: stuphead ver. 0.5.3 (Wiskas) (GTK+ 1.2.10; FreeBSD 4.4-PRERELEASE; i386) Mime-Version: 1.0 Content-Type: text/plain; charset="KOI8-R" Content-Transfer-Encoding: 8bit Message-ID: 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 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? 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.. ------ Некоторые боялись Пью, некоторые - Билли Бонса. Меня боялся сам Флинт. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message