Locking a file backed mdconfig into memory
Andriy Gapon
avg at icyb.net.ua
Fri May 28 18:13:49 UTC 2010
on 28/05/2010 20:57 Dave Hayes said the following:
> Clifton Royston <cliftonr at lava.net> 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
More information about the freebsd-stable
mailing list