> 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
Re: [discuss] Kernel and rootfs tinkering
Toomas Soome via illumos-discuss Fri, 26 Jul 2024 06:35:28 -0700
- [discuss] Kernel and rootfs tinkering 678yym
- Re: [discuss] Kernel and rootfs ... Peter Tribble
- Re: [discuss] Kernel and roo... Bryce
- Re: [discuss] Kernel and... Udo Grabowski (IMK)
- Re: [discuss] Kernel and roo... Bryce
- Re: [discuss] Kernel and rootfs ... Toomas Soome via illumos-discuss
- Re: [discuss] Kernel and roo... Bryce
- Re: [discuss] Kernel and... Bill Sommerfeld via illumos-discuss
- Re: [discuss] Kernel... Bryce
- Re: [discuss] K... Joshua M. Clulow via illumos-discuss
- Re: [discus... Bryce
- Re: [di... Joshua M. Clulow via illumos-discuss
- Re: [di... Toomas Soome via illumos-discuss
- Re: [di... Bryce
- Re: [di... Toomas Soome via illumos-discuss
- Re: [di... Bryce
