From owner-freebsd-arch Mon Jul 8 8:58:24 2002 Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9DB2937B400; Mon, 8 Jul 2002 08:58:19 -0700 (PDT) Received: from scoobysnax.jaded.net (d141-7-230.home.cgocable.net [24.141.7.230]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4AF5543E09; Mon, 8 Jul 2002 08:58:13 -0700 (PDT) (envelope-from dan@scoobysnax.jaded.net) Received: from scoobysnax.jaded.net (localhost [127.0.0.1]) by scoobysnax.jaded.net (8.12.3/8.12.3) with ESMTP id g68Fgt2g003325; Mon, 8 Jul 2002 11:42:55 -0400 (EDT) (envelope-from dan@scoobysnax.jaded.net) Received: (from dan@localhost) by scoobysnax.jaded.net (8.12.3/8.12.3/Submit) id g68FgtIY003324; Mon, 8 Jul 2002 11:42:55 -0400 (EDT) Date: Mon, 8 Jul 2002 11:42:55 -0400 From: Dan Moschuk To: Artem Tepponen Cc: Doug Barton , Garrett Wollman , mark@thuvia.demon.co.uk, arch@FreeBSD.ORG Subject: Re: Package system flaws? Message-ID: <20020708154255.GC304@scoobysnax.jaded.net> References: <5235EF9BAE6B7F4CB3735789EEF73B2907416F@turtle.egar.egartech.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5235EF9BAE6B7F4CB3735789EEF73B2907416F@turtle.egar.egartech.com> User-Agent: Mutt/1.4i Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG | > I think that we should start asking the questions about how | > we can end up with the smallest packages, then go backwards | > from there to decide how to beat that format into doing what we want. | | You will achieve best compression with tar+(bzip2|gzip), | cause format that compresses individual pieces and makes | archive usually loses to make archive and compress to one | file kind of format. Exceptions are very rare. | | The only problem is how to handle metadata piece that | have to have at least two properties: | 1. It should be available without whole thing being decompressed. | 2. It should be available asap in case of slow link. I think the meta data should be available uncompressed prepended to the .tar.bz2 archive. Zipping would also work, however as someone earlier pointed out zip compression is sub-optimal compared to bzip (or gzip for that matter). Considering the sheer amount (and size) of some of our packages I don't think that this is a minor issue. I'll be preparing a summary of this whole thread later on today. -Dan -- That poverty is no disaster is understood by everyone who has not yet succumbed to the madness of greed and luxury that turns everything topsy-turvy. -- Seneca To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message