Skip to content

Commit 9acc17b

Browse files
author
Christoph Hellwig
committed
initrd: mark initrd support as deprecated
The classic initial ramdisk has been replaced by the much more flexible and efficient initramfs a long time. Warn about it being removed soon. Includes a spelling fix from Colin Ian King <[email protected]>. Signed-off-by: Christoph Hellwig <[email protected]> Acked-by: Linus Torvalds <[email protected]>
1 parent f0ea68f commit 9acc17b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

init/do_mounts_initrd.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ static void __init handle_initrd(void)
7575
extern char *envp_init[];
7676
int error;
7777

78+
pr_warn("using deprecated initrd support, will be removed in 2021.\n");
79+
7880
real_root_dev = new_encode_dev(ROOT_DEV);
7981
create_dev("/dev/root.old", Root_RAM0);
8082
/* mount initrd on rootfs' /root */

0 commit comments

Comments
 (0)