[PATCH printk 2/3] proc: Add console sync support for /proc/consoles

From: John Ogness

Date: Fri Jul 10 2026 - 11:02:36 EST


Update /proc/consoles output to show 's' if a console is
running in sync mode.

Signed-off-by: John Ogness <john.ogness@xxxxxxxxxxxxx>
---
fs/proc/consoles.c | 1 +
1 file changed, 1 insertion(+)

diff --git a/fs/proc/consoles.c b/fs/proc/consoles.c
index b7cab1ad990da..f9af07d161412 100644
--- a/fs/proc/consoles.c
+++ b/fs/proc/consoles.c
@@ -25,6 +25,7 @@ static int show_console_dev(struct seq_file *m, void *v)
{ CON_PRINTBUFFER, 'p' },
{ CON_BRL, 'b' },
{ CON_ANYTIME, 'a' },
+ { CON_SYNC, 's' },
};
char flags[ARRAY_SIZE(con_flags) + 1];
struct console *con = v;
--
2.47.3