Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 04 Feb 2006 08:30:22 +0100
From:      Christian Laursen <xi@borderworlds.dk>
To:        "Mars G. Miro" <marsgmiro@gmail.com>
Cc:        freebsd-hackers@freebsd.org
Subject:   Re: Loading mfsroot image from included 4th file
Message-ID:  <86fymzd1ip.fsf@borg.borderworlds.dk>
In-Reply-To: <28edec3c0602032115i206256c6w6d3bbe8335fb72c6@mail.gmail.com> (Mars G. Miro's message of "Sat, 4 Feb 2006 13:15:38 %2B0800")
References:  <28edec3c0602032115i206256c6w6d3bbe8335fb72c6@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
"Mars G. Miro" <marsgmiro@gmail.com> writes:

>> I am trying to add a custom command I can run from the loader to boot
>> the system with an mfsroot image, but my forth skills are somewhat
>> lacking.
>
>
> How about loading it from loader.conf?
>         % cat /boot/loader.conf
>         mfsroot_load="YES"
>         mfsroot_type="mfs_root"
>         mfsroot_name="/boot/mfsroot"

While that would certainly work, it wouldn't quite do what I want.

I only want to get the mfsroot loaded when I'm actually going to use it.
Otherwise I would have to unload it after boot in the normal case which
is far from elegant.

-- 
Christian Laursen



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86fymzd1ip.fsf>