From owner-freebsd-stable@FreeBSD.ORG Fri May 28 22:34:36 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 A086E1065672 for ; Fri, 28 May 2010 22:34:36 +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 DD1AA8FC08 for ; Fri, 28 May 2010 22:34:35 +0000 (UTC) Received: from porto.topspin.kiev.ua (porto-e.starpoint.kiev.ua [212.40.38.100]) by citadel.icyb.net.ua (8.8.8p3/ICyb-2.3exp) with ESMTP id BAA17771; Sat, 29 May 2010 01:34:25 +0300 (EEST) (envelope-from avg@icyb.net.ua) Received: from localhost.topspin.kiev.ua ([127.0.0.1]) by porto.topspin.kiev.ua with esmtp (Exim 4.34 (FreeBSD)) id 1OI88H-0003rm-Ec; Sat, 29 May 2010 01:34:25 +0300 Message-ID: <4C0044F0.5060807@icyb.net.ua> Date: Sat, 29 May 2010 01:34:24 +0300 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.24 (X11/20100321) MIME-Version: 1.0 To: Jeremy Chadwick References: <201005272348.o4RNmgWh014243@hugeraid.jetcafe.org> <20100528043006.GA18560@lava.net> <201005281757.o4SHvTwq020905@hugeraid.jetcafe.org> <20100528191828.GA83371@icarus.home.lan> <201005281926.o4SJQCW3041849@hugeraid.jetcafe.org> <20100528215837.GA86689@icarus.home.lan> In-Reply-To: <20100528215837.GA86689@icarus.home.lan> X-Enigmail-Version: 0.96.0 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 22:34:36 -0000 on 29/05/2010 00:58 Jeremy Chadwick said the following: > On Fri, May 28, 2010 at 12:26:12PM -0700, Dave Hayes wrote: >> Jeremy Chadwick writes: >>> And I think you meant this for variable names, in addition to what >>> vfs.root.mountfrom should be (specific to RELENG_8): >>> mfsroot_load="YES" >>> mfsroot_type="mfs_root" >>> mfsroot_name="/some/path/mfsroot" >> I'm using RELENG_7, but it seems rootfs_* works just like mfsroot_* ... >> is the former deprecated? > > I spent a small bit of time looking through both RELENG_7 and RELENG_8 > source (/usr/src) as well as /boot (for the Forth portion) and I was > unable to find any reference to "rootfs" aside from actual variable > names (not loader variables) in C code or include files. None were > strings. There's a strong possibility I'm not looking the right way > (grep -ri ...). > > I can assure you that mfsroot_xxx works on both platforms because I > wrote the below documentation: Guys, you could have used "donotboot_" prefix there and it would still work :-) _type, _name and _load suffixes are what is important in this particular case. See description of these suffixes in loader.conf(5). -- Andriy Gapon