Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 10 Aug 2011 15:24:44 +1000
From:      Peter Jeremy <peter.jeremy@alcatel-lucent.com>
To:        Stephen Montgomery-Smith <stephen@missouri.edu>
Cc:        "ctm-users@freebsd.org" <ctm-users@freebsd.org>
Subject:   Re: Use of xz instead of gzip
Message-ID:  <20110810052444.GM6142@pjdesk.au.alcatel-lucent.com>
In-Reply-To: <4E41F59F.9020201@missouri.edu>
References:  <4E41F59F.9020201@missouri.edu>

next in thread | previous in thread | raw e-mail | index | archive | help

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

On 2011-Aug-10 11:06:07 +0800, Stephen Montgomery-Smith <stephen@missouri.e=
du> wrote:
>It seems that xz has much better compression than gzip.  How do people=20
>feel about moving CTM to use xz instead of gzip?

Seems like a reasonable idea except for the 7.x issues.  Have you
considered bzip2?

>First, the attached patch needs to be applied to /usr/src.  (Any=20
>committers willing to commit it?  It needs to MFC'ed rather quickly if I=
=20
>start using xz.)

You're unlikely to find any here apart from yourself.

>Secondly, if your version of FreeBSD is old (like 7.x or older) you need=
=20
>to install the archivers/xz port.  If you don't, when you attempt to=20
>apply ctm to a "xz" compressed file, it replies with a rather helpful=20
>message "xz not found."

I can see this presenting a problem on 7.x (and earlier, but they are
no longer supported) because the base system shouldn't have dependencies
on ports.  The options would seem to be:
1) Stick with gzip for 7-src and earlier (as well as ports until 7.x
   goes EOL)
2) Make ctm a port (so it can have a dependency on xz)
3) If dispensation is granted, ensure the dependency is documented in
   UPDATING and ctm.1 when it is MFC'd to 7.x and before.

And, of course, the commits containing the patch need to be distributed
before the format is changed (which creates issues for the xEmpty files
because they need to work on -RELEASE systems).

--=20
Peter Jeremy

--zS7rBR6csb6tI2e1
Content-Type: application/pgp-signature

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

iEYEARECAAYFAk5CFhwACgkQ/opHv/APuId96ACgpGiTajuZ2Jfo/mM0N6WC8kWt
MCsAnjzZRQhNcT1zBE2sj//V35NPqEsk
=ulq0
-----END PGP SIGNATURE-----

--zS7rBR6csb6tI2e1--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110810052444.GM6142>