Re: [PATCH] bootlogd: make isconsole() more lenient

2021-07-27 Thread Matthias Schiffer
Hi Jesse, for my concrete usecase I'm not interested in devices without a number, but in serial devices that have additional characters before the number (for example ttymxc0 for the i.MX UART driver). With my patch, the "tty" entry in the list of prefixes will now match this device name. If we g

[PATCH] bootlogd: accept any TTY device for isconsole()

2021-07-27 Thread Matthias Schiffer
Many UART drivers create TTY devices with names like ttymxc%d or ttyAPP%d. Instead of listing all of them in the list of known prefixes, just accept any TTY device when no prefix matches. Signed-off-by: Matthias Schiffer --- src/bootlogd.c | 23 +++ 1 file changed, 23 inserti