From owner-freebsd-arch Fri Jul 12 7:42:58 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 1B07737B400; Fri, 12 Jul 2002 07:42:56 -0700 (PDT) Received: from thuvia.demon.co.uk (thuvia.demon.co.uk [193.237.34.248]) by mx1.FreeBSD.org (Postfix) with ESMTP id A07E543E5E; Fri, 12 Jul 2002 07:42:53 -0700 (PDT) (envelope-from mark@thuvia.demon.co.uk) Received: from dotar.thuvia.org (dotar.thuvia.org [10.0.0.4]) by phaidor.thuvia.org (8.11.6/8.11.6) with ESMTP id g6CEgbb35150; Fri, 12 Jul 2002 15:42:38 +0100 (BST) (envelope-from mark@thuvia.demon.co.uk) Received: from dotar.thuvia.org (localhost [IPv6:::1]) by dotar.thuvia.org (8.12.3/8.12.3) with ESMTP id g6CEgbKC002992; Fri, 12 Jul 2002 15:42:37 +0100 (BST) (envelope-from mark@dotar.thuvia.org) Received: (from mark@localhost) by dotar.thuvia.org (8.12.3/8.12.3/Submit) id g6CEgZGc002989; Fri, 12 Jul 2002 15:42:35 +0100 (BST) Date: Fri, 12 Jul 2002 15:42:35 +0100 (BST) From: Mark Valentine Message-Id: <200207121442.g6CEgZGc002989@dotar.thuvia.org> In-Reply-To: Wes Peters's message of Jul 12, 12:23am X-Mailer: Mail User's Shell (7.2.6 beta(5) 10/07/98) To: Wes Peters Subject: Re: Package system flaws? Cc: Cy Schubert - CITS Open Systems Group , Dag-Erling Smorgrav , Doug Barton , Dan Moschuk , 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 > From: Wes Peters > Date: Fri 12 Jul, 2002 > Subject: Re: Package system flaws? > The default place to stick the filesets downloaded, IMHO, is the > directory where the XML file is located. No surprises, easy to find > a filesystem that has space available, etc. I hadn't actually considered any other option besides that. In my scheme it's the directory name that you key off, and the metadata is in a fixed name file, e.g. $ ls /var/spool/pkg/bar-m.n base.bz2 devel.bz2 doc.bz2 package.xml $ pkg_add /var/spool/pkg/bar-m.n Alternatively, using a "bundling transformation": $ (cd /var/spool/pkg/bar-m.n; tar cf ../bar-m.n.tar *.xml *.bz2) $ pkg_add /var/spool/pkg/bar-m.n.tar Am I right in saying that you have something like the following scheme in mind? $ ls /var/spool/pkg bar-m.n-base.bz2 bar-m.n-doc.bz2 foo-x.y-base.bz2 bar-m.n-devel.bz2 bar-m.n.xml foo-x.y.xml In that case my "bundling transformation" becomes: $ (cd /var/spool/pkg; tar cf bar-m.n.tar bar-m.n.xml bar-m.n-*.bz2) My scheme eats more inodes, but I prefer the shorter file names. However, I'm happy with whichever ends up being ultimately more useful. Cheers, Mark. -- Mark Valentine, Thuvia Labs "Tigers will do ANYTHING for a tuna fish sandwich." Mark Valentine uses "We're kind of stupid that way." *munch* *munch* and endorses FreeBSD -- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message