diff options
author | Randy Dunlap <rdunlap@infradead.org> | 2022-02-16 21:37:45 +0100 |
---|---|---|
committer | Petr Mladek <pmladek@suse.com> | 2022-02-21 15:44:02 +0100 |
commit | 96b02f2fbde29a08ac7239fd9ba87ff870cf8a94 (patch) | |
tree | 8aedf3df826e40e903a7a494f7acac935242b2ba /kernel/printk | |
parent | printk: use atomic updates for klogd work (diff) | |
download | linux-96b02f2fbde29a08ac7239fd9ba87ff870cf8a94.tar.xz linux-96b02f2fbde29a08ac7239fd9ba87ff870cf8a94.zip |
Docs: printk: add 'console=null|""' to admin/kernel-parameters
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 the commit a91bd6223ecd ("Revert
"init/console: Use ttynull as a fallback when there is no console"").
Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Petr Mladek <pmladek@suse.com>
Cc: Sergey Senozhatsky <senozhatsky@chromium.org>
Cc: Steven Rostedt <rostedt@goodmis.org>
Cc: John Ogness <john.ogness@linutronix.de>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: linux-doc@vger.kernel.org
[pmladek@suse.com: Slightly update wording.]
Signed-off-by: Petr Mladek <pmladek@suse.com>
Link: https://lore.kernel.org/r/20220216203745.980-1-rdunlap@infradead.org
Diffstat (limited to 'kernel/printk')
0 files changed, 0 insertions, 0 deletions