KemyLand wrote:
Just don't do what Linux does (decompress itself with a stub
). That would make debugging impossible, and would require a lot of black magic and games with the ELF format.
I believe it would be better if the bootloader did the decompression. This is a nice separation of duties.
KemyLand wrote:
Personally, (although you didn't said anything about it) I prefer to have only drivers and executables on the ramdisk, and assets and that kind of stuff somewhere in a ext* filesystem
I actually prefer to not take a stance on this. The ramdisk contains an initial filesystem. It can be as minimal as it wants: It could just contain an init and ext2 driver, which is used to locate and mount the real root filesystem. Or, it can be a fully fledged environment as in Sortix 0.9. The kernel doesn't and shouldn't care.