Date: Wed, 13 Jan 2010 07:19:04 -0700 (MST) From: "M. Warner Losh" <imp@bsdimp.com> To: davidn04@gmail.com Cc: embedded@FreeBSD.org, freebsd-questions@FreeBSD.org Subject: Re: Nanobsd Memory Backed Disks Message-ID: <20100113.071904.971941791087055641.imp@bsdimp.com> In-Reply-To: <4d7dd86f1001130347k75ec7dcfhf6adf2a852210d89@mail.gmail.com> References: <4d7dd86f1001130347k75ec7dcfhf6adf2a852210d89@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In message: <4d7dd86f1001130347k75ec7dcfhf6adf2a852210d89@mail.gmail.com>
David N <davidn04@gmail.com> writes:
: I've been poking around /etc/rc.diskless and other rc's. I can't seem
: to find what script loads the md.
: Its not in /etc/fstab
:
: Does anyone know where it is?
: Also how does nanobsd load the /etc into the md? newfs + cpio?
The md driver is usually compiled into the kernel. /etc/rc.d/mdconfig
and /etc/rc.d/mdconfig2 configure the ram disks. /etc/diskless is
created as part of the build process, and /etc/rc.initdiskless does
all the copying magic.
Warner
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100113.071904.971941791087055641.imp>
