From owner-freebsd-arch Thu Jul 11 15: 0:51 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 9001C37B40F; Thu, 11 Jul 2002 15:00:41 -0700 (PDT) Received: from softweyr.com (softweyr.com [65.88.244.127]) by mx1.FreeBSD.org (Postfix) with ESMTP id DA49643E09; Thu, 11 Jul 2002 15:00:40 -0700 (PDT) (envelope-from wes@softweyr.com) Received: from nextgig-8.customer.nethere.net ([209.132.102.168] helo=softweyr.com) by softweyr.com with esmtp (Exim 3.35 #1) id 17SlzF-000ObJ-00; Thu, 11 Jul 2002 16:00:33 -0600 Message-ID: <3D2E0100.C8958F07@softweyr.com> Date: Thu, 11 Jul 2002 15:04:48 -0700 From: Wes Peters Organization: Softweyr LLC X-Mailer: Mozilla 4.78 [en] (X11; U; Linux 2.4.2 i386) X-Accept-Language: en MIME-Version: 1.0 To: Archie Cobbs Cc: Dan Moschuk , Dag-Erling Smorgrav , arch@FreeBSD.ORG Subject: Re: Package system flaws? References: <200207100310.g6A3AZB23117@arch20m.dellroad.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 Archie Cobbs wrote: > > Dan Moschuk writes: > > I don't think using an archive format like zip would be a step in the > > right direction. If the package file format were to be redesigned, I would > > vote for a custom header prepended to a bziped tarball. > > tar has a limitation which I've encountered: suppose you have a port > that installs a man page with lots of references (i.e., hard linked > files with different names with a single underlying file). Then in > tar format, you get the same file copied N times. If we used cpio > instead (for example) then it "knows" how to handle hard links. > > So I'd say cpio is better than tar, though something else altogether > might be better than both. Tar and cpio both have anachronisms due to being "tape backup" utilities. I'd hope we could come up with some simple archive format that essentially encodes the inode data and file data and is smart about unfilled blocks. Make it into a library so it can be used by this AND OTHER utilities easily. -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC wes@softweyr.com http://softweyr.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message