Skip to content

machine-registration: stop hardcoding serial device prefixes

There are many possible prefixes for serial consoles, so rather than trying to make an exhaustive list, let's ask the kernel for all the serial drivers and their associated serial device prefixes (ttyS, ttyUSB, ...) then look for these devices in /dev.

Edited by Martin Roukala

Merge request reports

Loading