From owner-freebsd-arch Wed Jul 10 23:46:38 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 7282F37B400; Wed, 10 Jul 2002 23:46:35 -0700 (PDT) Received: from softweyr.com (softweyr.com [65.88.244.127]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF4E743E4A; Wed, 10 Jul 2002 23:46:34 -0700 (PDT) (envelope-from wes@softweyr.com) Received: from nextgig-2.customer.nethere.net ([209.132.102.162] helo=softweyr.com) by softweyr.com with esmtp (Exim 3.35 #1) id 17SXiU-000O8N-00; Thu, 11 Jul 2002 00:46:18 -0600 Message-ID: <3D2D2ABB.EA5889A0@softweyr.com> Date: Wed, 10 Jul 2002 23:50:35 -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: Cy Schubert - CITS Open Systems Group Cc: Dag-Erling Smorgrav , Doug Barton , Dan Moschuk , arch@FreeBSD.ORG Subject: Re: Package system flaws? References: <200207091343.g69DhOfP080432@cwsys.cwsent.com> 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 Cy Schubert - CITS Open Systems Group wrote: > > In message , Dag-Erling Smorgrav > writes: > > Wes Peters writes: > > > If you're sensible about the encoding, the metadata doesn't have to be > > > at the beginning of the media. > > > > Yes, it does, to allow installation from non-rewindable streams. No, it doesn't, you just have to make sure that the metadata for each chunk gets downloaded in time to decide if you want to skip over the chunk or not. The idea I like the best is to have the filesets (picture a .tar.gz or a .zip here) be external references on the fileserver; the XML contains all the metadata and URLs for the filesets. As you fetch the XML, or after you've fetched all of the XML, you fetch the filesets you're not skipping. Once you have the filesets on local storage, you can rewrite the URL references or convert them to in-line encoding, leaving the ones that have been skipped in the original URL encoding. For instance: Now assume you specified you want to install only the en_UK language files. pkg_add would leave the en_US and fr_FR as external references, download the binaries, man pages, and en_UK filesets, and convert those three into local file references OR directly encode them into the package file. > IMO, this is extremely important. Yup, you just have to be sensible about the encoding. -- "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