From owner-cvs-src@FreeBSD.ORG Tue Jan 1 11:21:56 2008 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2400616A420; Tue, 1 Jan 2008 11:21:56 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from redbull.bpaserver.net (redbullneu.bpaserver.net [213.198.78.217]) by mx1.freebsd.org (Postfix) with ESMTP id 9EB5413C46B; Tue, 1 Jan 2008 11:21:55 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from outgoing.leidinger.net (p54A546B7.dip.t-dialin.net [84.165.70.183]) by redbull.bpaserver.net (Postfix) with ESMTP id A01ED2E10F; Tue, 1 Jan 2008 12:21:43 +0100 (CET) Received: from deskjail (deskjail.Leidinger.net [192.168.1.109]) by outgoing.leidinger.net (Postfix) with ESMTP id 03FA77CDAC; Tue, 1 Jan 2008 12:21:37 +0100 (CET) Date: Tue, 1 Jan 2008 12:15:21 +0100 From: Alexander Leidinger To: "M. Warner Losh" Message-ID: <20080101121521.679e50b1@deskjail> In-Reply-To: <20080101.023143.-160243128.imp@bsdimp.com> References: <20071231001554.GB987@zaphod.nitro.dk> <20071231.203352.-165197022.imp@bsdimp.com> <4779D924.8020708@freebsd.org> <20080101.023143.-160243128.imp@bsdimp.com> X-Mailer: Claws Mail 3.0.2 (GTK+ 2.12.3; i686-portbld-freebsd8.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BPAnet-MailScanner-Information: Please contact the ISP for more information X-BPAnet-MailScanner: Found to be clean X-BPAnet-MailScanner-SpamCheck: not spam, SpamAssassin (not cached, score=-14.123, required 6, BAYES_00 -15.00, J_CHICKENPOX_53 0.60, J_CHICKENPOX_55 0.60, RDNS_DYNAMIC 0.10, SMILEY -0.50, TW_CZ 0.08) X-BPAnet-MailScanner-From: alexander@leidinger.net X-Spam-Status: No Cc: cvs-src@freebsd.org, kientzle@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org, simon@freebsd.org Subject: Re: cvs commit: src/lib/libarchive Makefile archive.h.in archive_entry.c archive_entry.h archive_entry_link_resolver.c archive_entry_private.h archive_entry_strmode.c archive_platform.h archive_read.c archive_read_support_compression_none.c archive_read_support_format_all.c ... X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jan 2008 11:21:56 -0000 Quoting "M. Warner Losh" (Tue, 01 Jan 2008 02:31:43 -0700 (MST)): > In message: <4779D924.8020708@freebsd.org> > Tim Kientzle writes: > : M. Warner Losh wrote: > : > In message: <20071231001554.GB987@zaphod.nitro.dk> > : > "Simon L. Nielsen" writes: > : > : > * New read support: mtree format > : > : > : > : This sounds interesting but I can't really figure out what it > : > : does... ? :) (and I couldn't find any mention in the updated manual > : > : pages.) > : > > : > Any chance our 'install' tools can be made to copy the files w/o the > : > right permissions and 'log' the right stuff to an mtree formatted > : > file? That would make building a distribution as a mere mortal > : > possible... > : > : Yep. ;-) That's a major motivation of this work. > : In fact, you don't even need to copy the files > : anywhere. The approach I'm considering would > : have "make buildworld" write out entries of this > : form during the build: > : > : /bin/ls uid=0 mode=0555 contents=/usr/obj/usr/src/bin/ls > : > : Then "make installworld" becomes essentially just: > : > : tar -xUvf world.mtree -C ${DESTDIR} > : > : or you can create a distribution tarball with: > : > : tar -czf world.tgz @world.mtree > > I mostly like this idea, save for one problem: install will strip the > symbols from /usr/obj/usr/src/bin/ls before installing it into > $DESTDIR/bin/ls. > > : In particular, I like that this approach uses exactly > : the same machinery for local installs or distribution > : building, varying only in the very last step. > : > : The code I just committed to -CURRENT is sufficient to > : begin experimenting with this approach; you just need > : to be careful to include "#mtree" as the first line > : (to please libarchive's auto-format detection). > : The use of full pathnames in mtree files is another > : idea I copied from the NetBSD folks; I've documented > : this as "mtree v2" in the mtree.5 manpage. > : > : There are still a lot of details to work out, but I > : hope this is sufficient for someone else to begin > : experimenting with the next step, which is figuring out > : the appropriate ways to change our distribution build. > > Yes. Any ideas how long the experimentation will last? Do you want an entry for this on the ideas list page? If yes, could you please come up with a suitable text (if you also do the markup, just go ahead an commit it, else I can do the markup and the commit). Bye, Alexander. -- Is truth not truth for all? -- Natira, "For the World is Hollow and I have Touched the Sky", stardate 5476.4. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137