Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 May 2010 01:34:24 +0300
From:      Andriy Gapon <avg@icyb.net.ua>
To:        Jeremy Chadwick <freebsd@jdc.parodius.com>
Cc:        freebsd-stable@freebsd.org, Clifton Royston <cliftonr@lava.net>
Subject:   Re: Locking a file backed mdconfig into memory
Message-ID:  <4C0044F0.5060807@icyb.net.ua>
In-Reply-To: <20100528215837.GA86689@icarus.home.lan>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <freebsd@jdc.parodius.com> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4C0044F0.5060807>