Re: [PATCH 09/16] initrd: remove the BLKFLSBUF call in handle_initrd

From: antlists
Date: Fri Jul 03 2020 - 20:18:53 EST


On 03/07/2020 04:40, H. Peter Anvin wrote:
On 2020-06-15 05:53, Christoph Hellwig wrote:
BLKFLSBUF used to be overloaded for the ramdisk driver to free the whole
ramdisk, which was completely different behavior compared to all other
drivers. But this magic overload got removed in commit ff26956875c2
("brd: remove support for BLKFLSBUF"), so this call is entirely
pointless now.

Signed-off-by: Christoph Hellwig <hch@xxxxxx>

Does *anyone* use initrd as opposed to initramfs anymore? It would seem
like a good candidate for deprecation/removal.

Reading the gentoo mailing list, it seems there's a fair few people who don't use initramfs. I get the impression they don't use initrd either, though.

I don't know too much about booting without an initramfs - I switched ages ago - so what is possible and what they're actually doing, I don't know.

Cheers,
Wol