Re: [PATCH] initrd: support erofs as initrd

From: Gao Xiang
Date: Fri Mar 21 2025 - 01:28:13 EST


Hi Christoph,

On 2025/3/21 13:01, Christoph Hellwig wrote:
We've been trying to kill off initrd in favor of initramfs for about
two decades. I don't think adding new file system support to it is
helpful.


Disclaimer: I don't know the background of this effort so
more background might be helpful.

Two years ago, I once thought if using EROFS + FSDAX to directly
use the initrd image from bootloaders to avoid the original initrd
double caching issue (which is what initramfs was proposed to
resolve) and initramfs unnecessary tmpfs unpack overhead:
https://lore.kernel.org/r/ZXgNQ85PdUKrQU1j@xxxxxxxxxxxxx

Also EROFS supports xattrs so the following potential work (which
the cpio format doesn't support) is no longer needed although I
don't have any interest to follow either):
https://lore.kernel.org/r/20190523121803.21638-1-roberto.sassu@xxxxxxxxxx

Anyway, personally I have no time slot or even input on those.

Thanks,
Gao Xiang