GEOM_ULZMA

M. Warner Losh imp at bsdimp.com
Thu Mar 4 15:27:06 UTC 2010


In message: <20100304102158.GA8092 at nobby.geeknest.org>
            Ulf Lilleengen <lulf at pvv.ntnu.no> writes:
: On Fri, Feb 19, 2010 at 04:36:44PM +0200, Alexandr Rybalko wrote:
: > Hi,
: > I wrote a module GEOM_ULZMA (such as GEOM_UZIP, but compression with lzma), in connection with this is an issue best left lzma
: > code in the file "geom_ulzma.c" or store lzma library separately. If separately, then where better?
: > 
: > Maybe in future make lzma and gzip library kernel interface for embedded?
: > Then in one instance of code, userland can use compression via kernel.
: > 
: 
: What are the cons against combining uzip/ulzma into a geom_z/geom_compress
: module that can support different compression schemes? I think this makes
: more sense than having different geom modules for each compression scheme.

Pros are it is easier to configure.  Cons are it uses more memory and
the code fights against the normal layering and abstraction by
implementing things in two forks.

Which one wins should likely be decided on size since this is for an
embedded environment.

Warner


More information about the freebsd-hackers mailing list