On 09/23/2010 03:18 PM, Karel Klic wrote:
On 09/23/2010 11:45 AM, Michal Toman wrote:
>> The uncompressed data size can be obtained by calling xz --list
>> file.xz. The --list option has been implemented only recently, so it
>> might be necessary to implement a method to get the uncompressed data
>> size by extracting the archive to the stdout, and counting the
>> extracted bytes, and call this method if --list doesn't work on the
>> server.
>
> If the files were compressed using tar.xz, we may ask tar about the
> uncompressed size: tar tvfJ file.tar.xz.
It seems that tar also uncompresses the xz stream to get the size, it
takes a lot of time and CPU power.
I hoped to avoid the need of extracting the xz file to get the size. The
--list option gives us that. It works on Rawhide, but it does not work
on Fedora 12.
We're not limited by F12 on the server.
J.
_______________________________________________
Crash-catcher mailing list
Crash-catcher(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/crash-catcher