diff mbox series

[v8,4/4] Documentation/serial-console: Document CONFIG_NULL_TTY_DEFAULT_CONSOLE.

Message ID 20250311033133.1859963-5-adamsimonelli@gmail.com
State New
Headers show
Series Optionally allow ttynull to be selected as a default console | expand

Commit Message

Adam Simonelli March 11, 2025, 3:31 a.m. UTC
From: Adam Simonelli <adamsimonelli@gmail.com>

When the kernel is compiled with CONFIG_NULL_TTY_DEFAULT_CONSOLE and
no console= options are selected, it defaults to using the ttynull
device.
---
 Documentation/admin-guide/serial-console.rst | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/Documentation/admin-guide/serial-console.rst b/Documentation/admin-guide/serial-console.rst
index a3dfc2c66e01..1609e7479249 100644
--- a/Documentation/admin-guide/serial-console.rst
+++ b/Documentation/admin-guide/serial-console.rst
@@ -78,7 +78,9 @@  If no console device is specified, the first device found capable of
 acting as a system console will be used. At this time, the system
 first looks for a VGA card and then for a serial port. So if you don't
 have a VGA card in your system the first serial port will automatically
-become the console.
+become the console, unless the kernel is configured with the
+CONFIG_NULL_TTY_DEFAULT_CONSOLE option, then it will default to using the
+ttynull device.
 
 You will need to create a new device to use ``/dev/console``. The official
 ``/dev/console`` is now character device 5,1.