Re: [PATCH] tty: Add NULL TTY driver

From: Enrico Weigelt, metux IT consult
Date: Fri Apr 12 2019 - 03:18:20 EST


On 11.04.19 15:05, Adamski, Krzysztof (Nokia - PL/Wroclaw) wrote:

> There are (embedded) cases where the kernel ring buffer is stored for> log inspection and all the logs that are *not* wanted there (like>
interactive debug logs, some progress bar, etc) are send specifically
to> /dev/console to avoid sending them to normal log store (as they are
only> useful when debugging over console). In non-debug mode
/dev/console> becomes /dev/null to speed things up.
So, in your case, it doesn't need to be an actual tty, any file/chardev
already do it, correct ? But then, why is that new driver needed ?
--mtx

--
Enrico Weigelt, metux IT consult
Free software and Linux embedded engineering
info@xxxxxxxxx -- +49-151-27565287