On my embedded system I usually use /dev/ttyS0 as a main console. This is achieved by passing kernel parameter console=/dev/ttyS0
and when init
takes its part, getty
is fired on the same device as specified in inittab
by eg. ttyS0::respawn:/sbin/getty -L ttyS0 115200 vt100
.
Is there any possibility to change these settings without restart and switch the console to another terminal like ttyS1
, ttyUSBx
or even some pseudo tty?