From owner-freebsd-hackers Tue Aug 26 08:40:11 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id IAA17394 for hackers-outgoing; Tue, 26 Aug 1997 08:40:11 -0700 (PDT) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id IAA17389 for ; Tue, 26 Aug 1997 08:40:08 -0700 (PDT) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id JAA25643; Tue, 26 Aug 1997 09:39:49 -0600 (MDT) Date: Tue, 26 Aug 1997 09:39:49 -0600 (MDT) Message-Id: <199708261539.JAA25643@rocky.mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: Simon Shapiro Cc: Nate Williams , "Jordan K. Hubbard" , freebsd-hackers@freebsd.org Subject: Re: Checking the integrity of system files In-Reply-To: References: <199708251836.MAA20814@rocky.mt.sri.com> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > > Is there something funamentally wrong with the pkg format that is > > > already in use for the packages? > > > > Yeah, it requires 'unpacking' the sources in a temp directory, and then > > moving them to their actual locations. This means you must have 2X+ > > room to install a package. .2-8X room for the gzipped package, 1X room > > for the unpacked sources, and 1X room for the installed sources. > > > > This is why moving to a standard format like ZIP would be nice since it > > has a 'package listing' built in (plus encryption, passwords, and other > > nice features which could be used by commercial software). > > Unfortunately, no-one has the time/interest to build a 'zip' library. > > One neat trick there is actually keeping the package as an ar(chive) of > gzipped files. Sounds crazy, but consider: > > * Almost no space for the framework. True. > * Files can be extracted individually, and rapidly (well, faster than > tar/cpio) True. > * Everyone has one already. True. > * TOC is trivial. Well, you have to run 'ar' to get the TOC (similar to what Jordan does already). > * You can even take components out and put new ones in. True. But, zip keeps things like ownership and permissions as well, and I'm pretty sure 'ar' doesn't. Nate