title: how to redirect the output of serial console (e.g. /dev/ttyS0) to a buffer or file
body: <p>Is it possible to pipe serial console output to a file or a buffer or some virtual or pseudo device (in /dev)?
  The Kernel command line has in startup at this point "console=null,115200".
  (Normally it has "console=ttyS0,115200" - my requirement is: if "console=null,115200", should the output go to some other place than ttyS0, e.g. a virtual or pseudo device or to a file/buffer)</p>
  
  <p>Maybe somebody know if there is good solution available?</p>
  
  <p>Thanks a lot in advance!</p>