[PATCH v2] commands: dmesg: clear logbuffer fully if not requested otherwise
Sascha Hauer
s.hauer at pengutronix.de
Mon Nov 3 00:50:54 PST 2025
On Wed, 29 Oct 2025 14:18:27 +0100, Jonas Rebmann wrote:
> Previously, `dmesg -c` would clear the logbuffer except for the last 10
> lines. This comes with a fair amount of surprise given linux `dmesg -c`
> clears the whole logbuffer.
>
> Clear the complete logbuffer given `dmesg -c` but with an optional
> argument `dmesg -c [<num>]` to keep <num> lines.
>
> [...]
Applied, thanks!
[1/1] commands: dmesg: clear logbuffer fully if not requested otherwise
https://git.pengutronix.de/cgit/barebox/commit/?id=4463660e1f5d (link may not be stable)
Best regards,
--
Sascha Hauer <s.hauer at pengutronix.de>
More information about the barebox
mailing list