From owner-freebsd-stable@FreeBSD.ORG Fri May 28 18:13:49 2010 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B46EF106567C for ; Fri, 28 May 2010 18:13:49 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from citadel.icyb.net.ua (citadel.icyb.net.ua [212.40.38.140]) by mx1.freebsd.org (Postfix) with ESMTP id 0412C8FC1F for ; Fri, 28 May 2010 18:13:48 +0000 (UTC) Received: from odyssey.starpoint.kiev.ua (alpha-e.starpoint.kiev.ua [212.40.38.101]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id VAA15913; Fri, 28 May 2010 21:13:17 +0300 (EEST) (envelope-from avg@icyb.net.ua) Message-ID: <4C0007BC.4000806@icyb.net.ua> Date: Fri, 28 May 2010 21:13:16 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.24 (X11/20100517) MIME-Version: 1.0 To: Dave Hayes References: <201005272348.o4RNmgWh014243@hugeraid.jetcafe.org> <20100528043006.GA18560@lava.net> <201005281757.o4SHvTwq020905@hugeraid.jetcafe.org> In-Reply-To: <201005281757.o4SHvTwq020905@hugeraid.jetcafe.org> X-Enigmail-Version: 0.95.7 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org, Clifton Royston Subject: Re: Locking a file backed mdconfig into memory X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 May 2010 18:13:49 -0000 on 28/05/2010 20:57 Dave Hayes said the following: > Clifton Royston writes: >> It sounds like what you really want is to load the contents of the >> specified file as a memory system? That's not part of mdconfig's >> repertoire, to the best of my recollection. > > So if, in /etc/loader.conf, I do this: > > rootfs_load="YES" > rootfs_type="mfs_root" > rootfs_name="/mfsboot" > vfs.root.mountfrom="ufs:md0" > > and /mfsboot comes from a bootable DVD, am I to assume that this mount > is under the same constraint? Specifically, this constraint is that the > /mfsboot file (and hence the DVD) will be read repeatedly if the system > is under memory pressure. No. Contents of mfsboot is loaded into physical memory and always stays there. -- Andriy Gapon