From owner-freebsd-questions@FreeBSD.ORG Wed Jan 7 00:26:33 2004 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 8FC4E16A4CE for ; Wed, 7 Jan 2004 00:26:33 -0800 (PST) Received: from Mail1.KONTENT.De (mail1.kontent.de [81.88.34.36]) by mx1.FreeBSD.org (Postfix) with ESMTP id 69AC843D53 for ; Wed, 7 Jan 2004 00:26:29 -0800 (PST) (envelope-from listuser@mb-itconsulting.com) Received: from mb-itconsulting.com (p5084F575.dip.t-dialin.net [80.132.245.117]) by Mail1.KONTENT.De (Postfix) with ESMTP id 00E2A25A7DE; Wed, 7 Jan 2004 09:26:26 +0100 (CET) Message-ID: <3FFBC2A5.7050504@mb-itconsulting.com> Date: Wed, 07 Jan 2004 09:26:13 +0100 From: Martin Brecher User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.6b) Gecko/20040102 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Rob References: <13B5D138-40E2-11D8-B8B0-003065A70D30@shire.net> <010101c3d4f2$c5f49320$a4b826cb@goo> In-Reply-To: <010101c3d4f2$c5f49320$a4b826cb@goo> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-questions@freebsd.org cc: "Chad Leigh -- Shire.Net LLC" Subject: Re: jails; sharing parts of file system; mounting pieces of file system in other positions, etc. 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: Wed, 07 Jan 2004 08:26:33 -0000 Chad, Rob, - >>On linux you can do a >> >>% mount -bind olddir newdir >> >>to remount a piece of the FS somewhere else. The NullFS on FBSD seems >>to allow similar things. However, as much as I could find on NullFS > [...] > > I'm currently setting up my 4.9-RELEASE webserver to do something > similar - each jail gets a root filesystem, but /usr is shared readonly > by all of them. The exception is /usr/local/etc, which is symlinked to > /etc/local (in the jail). > > My impression, though I don't have much to back this up with, is that > nullfs is reliable enough in read-only mode. Other folks may have a > different opinion. > Personally, I use (localhost) nfs-mounts to remount parts of the file system somewhere else. Works quite well. Greetings, Martin Brecher