PDA

View Full Version : [Solved] Does FreeBSD kernel have the concept of early userspace (initial ramdisk) filesystem?


thiago
October 1st, 2010, 11:48
Hi,

I'm distributing some small software (more like a set of shell scripts) along with the kernel without requiring a full linux distro so I'm using an initramfs (http://en.wikipedia.org/wiki/Initrd) image to hold busybox, libc and the scripts. With the linux kernel I can either bundle the image when compiling the kernel or have the bootloader pass it as a parameter. Does FreeBSD kernel support a similar concept?

Thanks in advance.

trasz@
October 1st, 2010, 13:29
Yes. See the md manual page, the part about MD_ROOT.

graudeejs
October 1st, 2010, 14:13
Not even a concept, but even an implementation ;)

thiago
October 1st, 2010, 14:26
That seems like what I need, thanks.