]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
initrd: remove deprecated code path (linuxrc)
authorAskar Safin <safinaskar@gmail.com>
Wed, 19 Nov 2025 22:24:06 +0000 (22:24 +0000)
committerChristian Brauner <brauner@kernel.org>
Mon, 12 Jan 2026 16:22:22 +0000 (17:22 +0100)
commitc350a65b566b527874b7ace5d904c57c107fae4f
tree96e792ff648df87b318e8fcaed6106c1d91e68f9
parent7f3b33668595ee48722df86831a1df4ee1192269
initrd: remove deprecated code path (linuxrc)

Remove linuxrc initrd code path, which was deprecated in 2020.

Initramfs and (non-initial) RAM disks (i. e. brd) still work.

Both built-in and bootloader-supplied initramfs still work.

Non-linuxrc initrd code path (i. e. using /dev/ram as final root
filesystem) still works, but I put deprecation message into it.

Also I deprecate command line parameters "noinitrd" and "ramdisk_start=".

Signed-off-by: Askar Safin <safinaskar@gmail.com>
Link: https://patch.msgid.link/20251119222407.3333257-3-safinaskar@gmail.com
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Documentation/admin-guide/kernel-parameters.txt
include/linux/initrd.h
init/do_mounts.c
init/do_mounts.h
init/do_mounts_initrd.c
init/do_mounts_rd.c