[PATCH 0/2] init: ensure that /dev/console and /dev/null are (nearly) always available in initramfs

Askar Safin
2026-02-19T21:03:57Z

This patchset is for VFS.

See commit messages for motivation and details.

Askar Safin (2):
init: ensure that /dev/console is (nearly) always available in
initramfs
init: ensure that /dev/null is (nearly) always available in initramfs

.../filesystems/ramfs-rootfs-initramfs.rst | 4 +--
init/do_mounts.c | 11 ++++++++
init/do_mounts.h | 2 ++
init/initramfs.c | 2 ++
init/main.c | 6 +++-
init/noinitramfs.c | 28 +++----------------
usr/Makefile | 2 +-
usr/default_cpio_list | 6 +---
8 files changed, 28 insertions(+), 33 deletions(-)

base-commit: 2961f841b025fb234860bac26dfb7fa7cb0fb122 (mainline)
--
2.47.3