From owner-cvs-all Mon Apr 1 17:33:28 2002 Delivered-To: cvs-all@freebsd.org Received: from quemadura.shockwave.org (quemadura.shockwave.org [63.199.168.250]) by hub.freebsd.org (Postfix) with ESMTP id 45ACD37B41B; Mon, 1 Apr 2002 17:32:59 -0800 (PST) Received: from vaio2 (protempore.shockwave.org [192.111.107.37]) by quemadura.shockwave.org (8.12.1/8.12.1/Debian -5) with ESMTP id g321Wt9w023918 (version=TLSv1/SSLv3 cipher=RC4-MD5 bits=128 verify=NO); Mon, 1 Apr 2002 17:32:55 -0800 Message-ID: <00e701c1d9e6$4ff44ac0$256b6fc0@shockwave.org> From: "Paul Traina" To: "Mikhail Teterin" , "Jordan Hubbard" Cc: , , References: <23280.1017708947@winston.freebsd.org> Subject: Re: cvs commit: src/usr.sbin/sysinstall install.c installUpgrade.c media.c package.c Date: Mon, 1 Apr 2002 17:32:54 -0800 Organization: Traina & Associates, LLC MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG While keeping in mind what day it is today, has anyone considered making packages compressed CD9660 filesystems which can be mounted by the vndevice, and then layered/stacked into place with unionfs? It would make for a very sexy and robust "real" filesystem. ----- Original Message ----- From: "Jordan Hubbard" To: "Mikhail Teterin" Cc: ; ; Sent: Monday, April 01, 2002 4:55 PM Subject: Re: cvs commit: src/usr.sbin/sysinstall install.c installUpgrade.c media.c package.c > > Why can't the packages be extracted "in place" by the sysinstall? > > Because that's just not the way it works. If you wanted to do that, > you'd need to invert the logic of pkg_add to extract in place and then > clean up the non-essentials, rather than extracting in a temporary > directory, moving only the essentials into place, and then deleting > the temp dir. You certainly shouldn't let us stop you from doing > that, of course, and I'm sure someone will be happy to review your > diffs. :) > > > Failing that, why can't the temporary directory be under the PREFIX, to > > make the installations faster and less disk-space consuming? > > Same deal as above, with the added complication of not knowing the > PREFIX up-front. > > The package utilities are a lot ickier inside than most people realize > and one of the goals of libh was to replace all of that with a much > cleaner mechanism. Volunteers for libh always welcome! > > - Jordan > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message