Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 May 2010 21:13:16 +0300
From:      Andriy Gapon <avg@icyb.net.ua>
To:        Dave Hayes <dave@jetcafe.org>
Cc:        freebsd-stable@freebsd.org, Clifton Royston <cliftonr@lava.net>
Subject:   Re: Locking a file backed mdconfig into memory
Message-ID:  <4C0007BC.4000806@icyb.net.ua>
In-Reply-To: <201005281757.o4SHvTwq020905@hugeraid.jetcafe.org>
References:  <201005272348.o4RNmgWh014243@hugeraid.jetcafe.org> <20100528043006.GA18560@lava.net> <201005281757.o4SHvTwq020905@hugeraid.jetcafe.org>

next in thread | previous in thread | raw e-mail | index | archive | help
on 28/05/2010 20:57 Dave Hayes said the following:
> Clifton Royston <cliftonr@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



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