Re: [PATCH 14/23] initrd: mark initrd support as deprecated

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On 2020-07-14 21:04:18+0000, Christoph Hellwig wrote:
> The classic initial ramdisk has been replaced by the much more
> flexible and efficient initramfs a long time.  Warn about it being
> removed soon.
> 
> Signed-off-by: Christoph Hellwig <hch@xxxxxx>
> ---
>  init/do_mounts_initrd.c | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/init/do_mounts_initrd.c b/init/do_mounts_initrd.c
> index 57ad5b2da8f5f5..e08669187d63be 100644
> --- a/init/do_mounts_initrd.c
> +++ b/init/do_mounts_initrd.c
> @@ -75,6 +75,8 @@ static void __init handle_initrd(void)
>  	extern char *envp_init[];
>  	int error;
>  
> +	pr_warn("using deprecated initrd support, will be removed in 2021.\n");
> +

I stumbled upon this today.
Apparently the "soon" never happened in 2021.

If this is still meant to happen I can send a series to remove it.

>  	real_root_dev = new_encode_dev(ROOT_DEV);
>  	create_dev("/dev/root.old", Root_RAM0);
>  	/* mount initrd on rootfs' /root */
> -- 
> 2.27.0




[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [NTFS 3]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [NTFS 3]     [Samba]     [Device Mapper]     [CEPH Development]

  Powered by Linux