> On 26. Jul 2024, at 14:28, [email protected] wrote:
> 
> Hello list,
> 
> I'm new to illumos, but I have a bit of experience with Linux and the *BSDs.
> 
> I was wondering if it was possible to embed a rootfs image into the kernel, 
> as a binary blob, and either mount as a RO fs, or mmap() it from somewhere in 
> the kernel, and use it as a tmpfs.
> 
> I was thinking the second option would be better.
> 
> Is this possible? Where in the source would I need to make the modifications?
> 

Our current setup is loading kernel and boot_archive, which is initial rootfs 
in memory — depending on file system type, you can end up presenting it to 
userland or switching to some other file system - one can use ufs to build 
boot_archive and then use it as rootfs (this is scenario smartos is using and 
how the live boot/install images are working).

rgds,
toomas
------------------------------------------
illumos: illumos-discuss
Permalink: 
https://illumos.topicbox.com/groups/discuss/Tc9bfa679c7294ee7-M9beb4930631f6fb9c52e7725
Delivery options: https://illumos.topicbox.com/groups/discuss/subscription

Reply via email to