From owner-freebsd-arch Sun Jul 7 21: 6: 3 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 5F30137B400 for ; Sun, 7 Jul 2002 21:06:01 -0700 (PDT) Received: from khavrinen.lcs.mit.edu (khavrinen.lcs.mit.edu [18.24.4.193]) by mx1.FreeBSD.org (Postfix) with ESMTP id C734443E31 for ; Sun, 7 Jul 2002 21:06:00 -0700 (PDT) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: from khavrinen.lcs.mit.edu (localhost [IPv6:::1]) by khavrinen.lcs.mit.edu (8.12.3/8.12.3) with ESMTP id g68460RC028328; Mon, 8 Jul 2002 00:06:00 -0400 (EDT) (envelope-from wollman@khavrinen.lcs.mit.edu) Received: (from wollman@localhost) by khavrinen.lcs.mit.edu (8.12.3/8.12.3/Submit) id g6845xCf028327; Mon, 8 Jul 2002 00:05:59 -0400 (EDT) (envelope-from wollman) Date: Mon, 8 Jul 2002 00:05:59 -0400 (EDT) From: Garrett Wollman Message-Id: <200207080405.g6845xCf028327@khavrinen.lcs.mit.edu> To: jkh@queasyweasel.com Subject: Re: Package system flaws? X-Newsgroups: mit.lcs.mail.freebsd-arch In-Reply-To: <1A55D91B-921F-11D6-AACD-0003938C7B7E@queasyweasel.com> References: <200207080159.g681xkTX040304@dotar.thuvia.org> Organization: MIT Laboratory for Computer Science Cc: arch@freebsd.org 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 In article <1A55D91B-921F-11D6-AACD-0003938C7B7E@queasyweasel.com> Jordan writes: [what is that, a GUID in that Message-ID field?!] >Having to seek to the end is, indeed, one of the major draw-backs of >zip. I have no idea why the originators, in their infinite wisdom, put >it there. I do. (Was I the last person to still be using an IBM PC when this happened back in 1988?) Recall that Phil Katz was under legal pressure to create something that was as entirely unlike System Enhancement Associates' ARC as possible. ARC used a `distributed directory' model (stolen from tar) because that made it trivial to append to an archive -- just overwrite the ``end of archive'' block at the end of the file with new data, and eventually a new ``end of archive'' block. Katz wanted to preserve this ability without using the `distributed directory' model, because floppy disks were and are unspeakably slow, and even seeking through an archive to list all the files was painful compared to reading a single sector with all the directory information in it. If the directory is at the beginning, it can never be expanded without making a copy of the entire archive (painfully inconvenient for a 320K archive on a 360K floppy). So, he put the directory at the end, where it was easy to find (in a maximum of two seeks) and could be overwritten when extending the archive, just like the old `end of archive' header in ARC format. -GAWollman -- Garrett A. Wollman | [G]enes make enzymes, and enzymes control the rates of wollman@lcs.mit.edu | chemical processes. Genes do not make ``novelty- Opinions not those of| seeking'' or any other complex and overt behavior. MIT, LCS, CRS, or NSA| - Stephen Jay Gould (1941-2002) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message