Re: [PATCH] initrd: support erofs as initrd
From: Askar Safin
Date: Wed Aug 27 2025 - 05:23:44 EST
---- On Tue, 26 Aug 2025 19:32:34 +0400 Gao Xiang <hsiangkao@xxxxxxxxxxxxxxxxx> wrote ---
> I completely agree with that point. However, since EROFS is a
> block-based filesystem (Thanks to strictly block alignment, meta(data)
> can work efficiently on both block-addressed storage
> devices and byte-addressed memory devices. Also if the fsblock size
As I said previously, just put your erofs image to initramfs
(or to disk) and then (in your initramfs init) create ramdisk out of it
or loop mount it (both ramdisks and loop devices are block devices).
This way you will have erofs on top of block device.
And you will not depend on initrd. (Again: I plan to remove initial ramdisk
support, not ramdisk support per se.)
--
Askar Safin
https://types.pl/@safinaskar