From owner-freebsd-embedded@FreeBSD.ORG  Tue Mar  2 07:48:41 2010
Return-Path: <owner-freebsd-embedded@FreeBSD.ORG>
Delivered-To: embedded@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 25EB71065785;
	Tue,  2 Mar 2010 07:48:41 +0000 (UTC)
	(envelope-from pjd@garage.freebsd.pl)
Received: from mail.garage.freebsd.pl (chello089077043238.chello.pl
	[89.77.43.238])
	by mx1.freebsd.org (Postfix) with ESMTP id 6CB5A8FC13;
	Tue,  2 Mar 2010 07:48:40 +0000 (UTC)
Received: by mail.garage.freebsd.pl (Postfix, from userid 65534)
	id 080A845EC0; Tue,  2 Mar 2010 08:17:44 +0100 (CET)
Received: from localhost (chello089077043238.chello.pl [89.77.43.238])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(No client certificate requested)
	by mail.garage.freebsd.pl (Postfix) with ESMTP id DFD084569A;
	Tue,  2 Mar 2010 08:17:38 +0100 (CET)
Date: Tue, 2 Mar 2010 08:17:36 +0100
From: Pawel Jakub Dawidek <pjd@FreeBSD.org>
To: Alexandr Rybalko <ray@dlink.ua>
Message-ID: <20100302071736.GF1946@garage.freebsd.pl>
References: <20100219163644.da89e882.ray@dlink.ua>
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="VuQYccsttdhdIfIP"
Content-Disposition: inline
In-Reply-To: <20100219163644.da89e882.ray@dlink.ua>
User-Agent: Mutt/1.4.2.3i
X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc
X-OS: FreeBSD 9.0-CURRENT i386
X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on 
	mail.garage.freebsd.pl
X-Spam-Level: 
X-Spam-Status: No, score=-0.6 required=4.5 tests=BAYES_00,RCVD_IN_SORBS_DUL 
	autolearn=no version=3.0.4
Cc: geom@freebsd.org, embedded@freebsd.org, hackers@freebsd.org
Subject: Re: GEOM_ULZMA
X-BeenThere: freebsd-embedded@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Dedicated and Embedded Systems <freebsd-embedded.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-embedded>, 
	<mailto:freebsd-embedded-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-embedded>
List-Post: <mailto:freebsd-embedded@freebsd.org>
List-Help: <mailto:freebsd-embedded-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-embedded>, 
	<mailto:freebsd-embedded-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Tue, 02 Mar 2010 07:48:41 -0000


--VuQYccsttdhdIfIP
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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=
), [...]

Wouldn't it be better to modify geom_uzip to be universal decompression
class with various algorithms implemented as plugins?
This is bascially what I did for the LABEL class - before we had VOL_FFS
class only for UFS labels.

> [...] in connection with this is an issue best left lzma
> code in the file "geom_ulzma.c" or store lzma library separately. If sepa=
rately, then where better?

Definiatelly separately, not sure where. There is ongoing discussion
somwhere on importing this algorithm to the base for tar(1) to use, it
would be best to have only one copy of code in the tree.

--=20
Pawel Jakub Dawidek                       http://www.wheelsystems.com
pjd@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

--VuQYccsttdhdIfIP
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (FreeBSD)

iEYEARECAAYFAkuMu48ACgkQForvXbEpPzT9oACgxw5SguVaFp1a8cEysw98rXfM
o6MAniVWtClI9kJ63gkJSoRPX0Hc/LGE
=uCwV
-----END PGP SIGNATURE-----

--VuQYccsttdhdIfIP--