Nanobsd Memory Backed Disks

M. Warner Losh imp at bsdimp.com
Wed Jan 13 14:25:04 UTC 2010


In message: <4d7dd86f1001130347k75ec7dcfhf6adf2a852210d89 at mail.gmail.com>
            David N <davidn04 at 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


More information about the freebsd-questions mailing list