• Kay Sievers's avatar
    kmsg - export "continuation record" flag to /dev/kmsg · d39f3d77
    Kay Sievers authored
    In some cases we are forced to store individual records for a continuation
    line print.
    
    Export a flag to allow the external re-construction of the line. The flag
    allows us to apply a similar logic externally which is used internally when
    the console, /proc/kmsg or the syslog() output is printed.
    
      $ cat /dev/kmsg
      4,165,0,-;Free swap  = 0kB
      4,166,0,-;Total swap = 0kB
      6,167,0,c;[
      4,168,0,+;0
      4,169,0,+;1
      4,170,0,+;2
      4,171,0,+;3
      4,172,0,+;]
      6,173,0,-;[0 1 2 3 ]
      6,174,0,-;Console: colour VGA+ 80x25
      6,175,0,-;console [tty0] enabled
    Signed-off-by: default avatarKay Sievers <kay@vrfy.org>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
    d39f3d77
dev-kmsg 4.11 KB