From owner-freebsd-hackers@FreeBSD.ORG Fri Oct 15 14:36:50 2004 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1088616A4CE for ; Fri, 15 Oct 2004 14:36:50 +0000 (GMT) Received: from lurza.secnetix.de (lurza.secnetix.de [83.120.8.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 387AF43D55 for ; Fri, 15 Oct 2004 14:36:49 +0000 (GMT) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (fezkly@localhost [127.0.0.1]) by lurza.secnetix.de (8.12.11/8.12.11) with ESMTP id i9FEalra008011; Fri, 15 Oct 2004 16:36:47 +0200 (CEST) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.12.11/8.12.11/Submit) id i9FEak3C008009; Fri, 15 Oct 2004 16:36:46 +0200 (CEST) (envelope-from olli) From: Oliver Fromme Message-Id: <200410151436.i9FEak3C008009@lurza.secnetix.de> To: peadar.edwards@gmail.com Date: Fri, 15 Oct 2004 16:36:46 +0200 (CEST) In-Reply-To: <34cb7c8404101507297970e8dc@mail.gmail.com> from "Peter Edwards" at Oct 15, 2004 03:29:23 PM X-Mailer: ELM [version 2.5 PL3] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Mailman-Approved-At: Sat, 16 Oct 2004 12:18:22 +0000 cc: David Malone cc: freebsd-hackers@freebsd.org Subject: Re: NFS + VM question X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Oct 2004 14:36:50 -0000 Peter Edwards wrote: > On Fri, 15 Oct 2004 13:49:48 +0100, David Malone wrote: > > On Thu, Oct 14, 2004 at 04:27:38PM +0200, Oliver Fromme wrote: > > > [...] > > > If the memory isn't shared in this situation, is there a > > > way to change the design so it can be shared? chroot and > > > NFS are "musts", though. > > > > I don't think there is an easy way to get this caching to happen, > > short of using hard links or some kind of union mount instead of > > NFS. > > "nullfs" sounds like just the job here. ie, mount the NFS filesystem > once, then use nullfs to graft it into each chroot area: > > mount host:/usr /mnt > mount -tnullfs /mnt /jail/1 > mount -tnullfs /mnt /jail/2 > > Of course, there's more overhead than if you weren't using the extra > nullfs layer, but the caching works as you want. Thanks for the explanation. It really sounds like nullfs would be the solution for me, but unfortunately, I can't use it because of the known pro- blems of nullfs in FreeBSD 4-stable (which is the branch that I'm using). Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. > Can the denizens of this group enlighten me about what the > advantages of Python are, versus Perl ? "python" is more likely to pass unharmed through your spelling checker than "perl". -- An unknown poster and Fredrik Lundh