On 2025/8/27 17:22, Askar Safin wrote:
---- 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.)
It doesn't work if end users put `init` into erofs image and sign the whole erofs initram images with their certifications. And it doesn't have any relationship with cpio because users need signed image and load from memory. Thanks, Gao Xiang