Skip to content
  • John Thacker's avatar
    Write compressed follow up · 4b03ddd5
    John Thacker authored and AndersBroman's avatar AndersBroman committed
    Check the compression suffix earlier, and produce errors for
    compression suffixes (and compression types) we recognize and
    can read, but can't write.
    
    Make sure we check for a suffix after a dot (the function
    that returns all the extension types doesn't include the dot,
    so do it a different way here and in the other functions.)
    
    For now, we don't allow specifying uncompressed with --compress
    (to override a compression extension, perhaps), but we could in
    the future, by initializing to unknown compression and changing
    to uncompressed immediately before checking the type.
    
    Fix name in stderr message.
    
    Allow writing compressed information to standard out for piping.
    
    Handle double suffixes for ring buffer names, putting the changing
    part before the previous extension.
    
    We can write LZ4 compressed now, so indicate that. Thanks to the
    other commits turning it on just works.
    
    Update the documentation and clarify the current behavior.
    
    Follow up to 6a5de923...
    4b03ddd5
Loading