Thanks Peter, I just found your project MVI, it's exactly what i was looking for. I'm quite new here, how should I close this thread?
On Fri, Jul 26, 2024, 9:01 AM Peter Tribble <[email protected]> wrote: > On Fri, Jul 26, 2024 at 12:28 PM <[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. >> > > First, an observation: illumos has a modular kernel. Therefore, in order > for it to access a file system > (the rootfs image in this case) it needs to load the file system driver > modules. which it does by reading > the filesystem... Normally, it has external help, specifically from the > bootloader. > > Which leads to the second thing, which is a question: what are you trying > to do here? It sounds like > an interesting experiment, but I'm not sure what the objective is. > > >> I was thinking the second option would be better. >> >> Is this possible? Where in the source would I need to make the >> modifications? >> >> Thanks list. >> > > > -- > -Peter Tribble > http://www.petertribble.co.uk/ - http://ptribble.blogspot.com/ > *illumos <https://illumos.topicbox.com/latest>* / illumos-discuss / see > discussions <https://illumos.topicbox.com/groups/discuss> + participants > <https://illumos.topicbox.com/groups/discuss/members> + delivery options > <https://illumos.topicbox.com/groups/discuss/subscription> Permalink > <https://illumos.topicbox.com/groups/discuss/Tc9bfa679c7294ee7-Me0ac74d996d2040cc8947ece> > ------------------------------------------ illumos: illumos-discuss Permalink: https://illumos.topicbox.com/groups/discuss/Tc9bfa679c7294ee7-M31b7d8e2258d86d5f11cf844 Delivery options: https://illumos.topicbox.com/groups/discuss/subscription
