From owner-freebsd-questions@FreeBSD.ORG Mon Nov 3 06:13:10 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CA95916A4D0 for ; Mon, 3 Nov 2003 06:13:10 -0800 (PST) Received: from mx1.lphp.org (APastourelles-107-1-2-131.w193-251.abo.wanadoo.fr [193.251.52.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD4E843FDD for ; Mon, 3 Nov 2003 06:13:07 -0800 (PST) (envelope-from ajacoutot@lphp.org) Received: from lphp.org (modem209.metz.imaginet.fr [195.68.12.209] (may be forged)) by mx1.lphp.org (8.12.8p2/8.12.8) with ESMTP id hA3EDZXW006553; Mon, 3 Nov 2003 15:13:35 +0100 (CET) (envelope-from ajacoutot@lphp.org) Message-ID: <3FA66270.2000508@lphp.org> Date: Mon, 03 Nov 2003 15:13:04 +0100 From: Antoine Jacoutot User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.5) Gecko/20031020 X-Accept-Language: fr-fr, fr, en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <200311021520.32391.ajacoutot@lphp.org> <44ekwpimv1.fsf@be-well.ilk.org> In-Reply-To: <44ekwpimv1.fsf@be-well.ilk.org> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions-local@be-well.ilk.org Subject: Re: mountd/nfs export options X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 03 Nov 2003 14:13:10 -0000 Lowell Gilbert wrote: >>Is there a trick or anything I could use to exports 2 directories on the same >>filesystem, but with different options ? >> >>For exemple, I have /dev/ad2s1d mounted on /exports. >>I would like to export /exports/share1 read-only and /exports/share2 >>read-write. > It's not possible, because there's no way to enforce it... > Oh, man, that is to bad :( I've got to find a way to do this or I'll have to use Linux instead, IIRC it allows that kind of sharing. Isn't it possible to use nullfs or unionfs to achieve this ? Thanks a lot for your answer... Regards, Antoine