Pre-filled RAM disk.

Jon Brawn jon at brawn.org
Thu Sep 21 03:47:18 UTC 2017


On Sep 20, 2017, at 10:35 PM, Ian Lepore <ian at freebsd.org> wrote:
> 
> On Wed, 2017-09-20 at 21:23 -0600, Warner Losh wrote:
>> On Wed, Sep 20, 2017 at 9:16 PM, Warner Losh <imp at bsdimp.com> wrote:
>> 
>>> On Wed, Sep 20, 2017 at 8:50 PM, Jon Brawn <jon at brawn.org> wrote:
>>> 
>>>> 
>>>> Wotcha!
>>>> 
>>>> <chomp>
>>>> So, what does FreeBSD have to offer in the way of ramdisk
>>>> functionality?
>>>> 
>>> Yes.
>>> 
>>> See MD_ROOT and friends.
>>> 
>> The MFS_IMAGE kernel option has replaced this.
>> 
>> Warner
> 
> And the documentation (such as it is) for MFS_IMAGE is in the md(4)
> manpage.  In a nutshell, it's a mechanism that lets you compile an
> existing filesystem image directly into the kernel and it is mounted as
> a memory filesystem at boot time.  Hopefully being contained within the
> kernel will make the problem of loading it at a fixed physical address
> go away for you.
> 
> -- Ian
> 

I really need to bring more of my work problems to this list, obviously. Thanks folks!

Jon.


More information about the freebsd-current mailing list