Nanobsd Memory Backed Disks
davidn04 at gmail.com
Wed Jan 13 18:56:36 UTC 2010
2010/1/14 M. Warner Losh <imp at bsdimp.com>:
> 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.
Thanks, I found what I was looking for.
the diskless file to enable md
and md_size which determines the md size.
It loads the files from there instead of the actual /etc (before the
More information about the freebsd-questions