Re: [PATCH v2] Docs: printk: add 'console=null|""' to admin/kernel-parameters

From: Petr Mladek
Date: Mon Feb 21 2022 - 09:49:29 EST


On Wed 2022-02-16 12:37:45, Randy Dunlap wrote:
> Tell about 'console=null|""' and how to use it.
>
> It can be helpful to set (enable) CONFIG_NULL_TTY so that the ttynull
> driver is available. This avoids problems with stdin/stdout/stderr of
> the init process. Howevere, CONFIG_NULL_TTY cannot be enabled by default
> because it can be used by mistake [see commit a91bd6223ecd ("Revert
> "init/console: Use ttynull as a fallback when there is no console").]
>
> Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>

The patch is committed in printk/linux.git, branch for-5.18.

Best Regards,
Petr