Re: [PATCH] init: fix removal warning for deprecated initrd loading

From: Andrew Morton
Date: Wed Dec 18 2024 - 19:28:37 EST


On Wed, 18 Dec 2024 12:36:38 +0000 Martin Kepplinger <martink@xxxxxxxxx> wrote:

> This won't be removed in 2021, no matter how hard we try.
>

man git-timetravel

> ...
>
> --- a/init/do_mounts_initrd.c
> +++ b/init/do_mounts_initrd.c
> @@ -89,7 +89,7 @@ static void __init handle_initrd(char *root_device_name)
> extern char *envp_init[];
> int error;
>
> - pr_warn("using deprecated initrd support, will be removed in 2021.\n");
> + pr_warn("using deprecated initrd support, will be removed soon.\n");
>
> real_root_dev = new_encode_dev(ROOT_DEV);
> create_dev("/dev/root.old", Root_RAM0);

Well, what's stopping us from removing initrd support?

Maybe the next step is to remove it by default, with a hard-to-find
Kconfig setting to get it back again?