Locking a file backed mdconfig into memory
Andriy Gapon
avg at icyb.net.ua
Fri May 28 22:34:36 UTC 2010
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 at 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
More information about the freebsd-stable
mailing list