Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 May 2010 12:18:28 -0700
From:      Jeremy Chadwick <freebsd@jdc.parodius.com>
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:  <20100528191828.GA83371@icarus.home.lan>
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 Fri, May 28, 2010 at 10:57:29AM -0700, Dave Hayes wrote:
> 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"

I think you mean /boot/loader.conf?  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"
vfs.root.mountfrom="ufs:/dev/md0"

If using RELENG_7 and the mfsroot was made on RELENG_7, replace
"/dev/md0" with "/dev/md0c".

-- 
| Jeremy Chadwick                                   jdc@parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                  Mountain View, CA, USA |
| Making life hard for others since 1977.              PGP: 4BD6C0CB |




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