[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH][UPDATED] support for xz compression format
From: |
Szymon Janc |
Subject: |
Re: [PATCH][UPDATED] support for xz compression format |
Date: |
Tue, 16 Feb 2010 19:58:09 +0100 |
User-agent: |
KMail/1.12.4 (Linux/2.6.32-trunk-686; KDE/4.3.4; i686; ; ) |
Dnia wtorek 16 luty 2010 o 14:44:45 Vladimir 'φ-coder/phcoder' Serbinenko
napisał(a):
> + #define VLI_MAX_DIGITS 9
> Are you sure it's 9? It gives only 63 and not 64 bits
It is a limitation of xz format.
> + if (! test_header(file) || ! test_footer(file))
> + {
> Seeking to the end of file is very expensive on pxe. Can it be skipped?
xz stores uncompressed data size at the end of file, without it file size can't
be set.
gzio has same issue, it reads last 4 bytes of file to determine uncompressed
data size.
> grub_xzio_read seems to ignore file->offset. Have you tested seeking?
Yes, seeking is not implemented yet. It's on my TODO list.
--
Szymon K. Janc
address@hidden // GG: 1383435