Re: [AVFS] Lzip support

Ralf Hoffmann <[email protected]> Tue, 16 Mar 2021 19:53:03 +0100
Newsgroups gmane.comp.file-systems.avfs.user
Message-ID <[email protected]>
Hi Dmytro,

On 14/03/2021 10.00, Dmytro Kolomoiets wrote:
> how time-consuming would it be for you to add "Lzip" (lzma-based) support
> to AVFS (primarily for FUSE usacase), or at least to provide a branch with
> half-skeleton of its integration as starting point?
> 
> Lzip - LZMA lossless data compressor
>   https://www.nongnu.org/lzip/
> Lzlib - A compression library for the lzip format
>   https://www.nongnu.org/lzip/lzlib.html

Since it is a just a stream-based compressor like gzip, it is relatively
easy to add support. I will take a look this. There might be some
performance issues when accessing a lot o files with lzip packed
archives since it seems as the library does not support internal state
save/restore for seeking but for usual use cases it should be fast enough.

> ## P.S.
> How much AVFS is abandoned? Or is it simply "good enough" that there is
> nothing to improve anymore (like most of Lisp packages :D) ?

It is not abandoned, but I don't have the need for much improvement
either. It works fine for me. From time to time there is native support
for some new compressor, but usually for more complex formats I rely on
extfs integration which is often slow, but good enough on the other hand.

Best regards,

Ralf

-- 
Ralf Hoffmann <[email protected]>
Homepage: http://www.boomerangsworld.de