Mailinglist Archive: opensuse (1885 mails)

< Previous Next >
Re: [opensuse] Re: You probably already knew, but lzma is way superior for archiving
  • From: Per Jessen <per@xxxxxxxxxxxx>
  • Date: Wed, 08 Apr 2009 14:23:13 +0200
  • Message-id: <gri4vi$kn5$1@xxxxxxxxxxxxxxxx>
Carlos E. R. wrote:

I don't know about less, but I've got an lzless and an lzgrep. To me
the 50% space saving and the faster decompression is a big win, so I
can easily live with lzless and lzgrep.

New tools... I don't like that. I prefer the "standard" having support
for all methods, and me not caring.

Alright Carlos, here you go - a patch for /usr/bin/zgrep to support
lzma:

http://jessen.ch/files/zgrep-plus-lzma.patch

The real problem with lzma is that it is so slow compressing, but if
you have many logs to keep, it may be worth the effort in your case.

For me the compression time is not a problem - it happens at night,
after logrotate, no-one is waiting for it to finish. Like I said, lzma
is perfect when it comes archiving logs - they're large, mostly
write-only, but even for reading lzma is fast.

/Per

--
Per Jessen, Zürich (15.8°C)

--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups