From owner-freebsd-current@FreeBSD.ORG Tue Jan 20 13:45:44 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 50F7216A4CE for ; Tue, 20 Jan 2004 13:45:44 -0800 (PST) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id BAAF043D2F for ; Tue, 20 Jan 2004 13:45:42 -0800 (PST) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (IDENT:brdavis@localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.12.10/8.12.3) with ESMTP id i0KLjXaT020451; Tue, 20 Jan 2004 13:45:33 -0800 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.12.10/8.12.3/Submit) id i0KLjXeN020450; Tue, 20 Jan 2004 13:45:33 -0800 Date: Tue, 20 Jan 2004 13:45:33 -0800 From: Brooks Davis To: Tim Kientzle Message-ID: <20040120214533.GC11747@Odin.AC.HMC.Edu> References: <98643.1074545359@critter.freebsd.dk> <20040120090953.GA25898@ei.bzerk.org> <20040120155912.GA18837@Odin.AC.HMC.Edu> <400D8521.109@acm.org> <20040120211346.GA11747@Odin.AC.HMC.Edu> <400D9DC7.2050209@acm.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="+nBD6E3TurpgldQp" Content-Disposition: inline In-Reply-To: <400D9DC7.2050209@acm.org> User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-milter (http://amavis.org/) on odin.ac.hmc.edu cc: current@freebsd.org Subject: Re: REVIEW: cleanvar.patch X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jan 2004 21:45:44 -0000 --+nBD6E3TurpgldQp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 20, 2004 at 01:29:43PM -0800, Tim Kientzle wrote: > Brooks Davis wrote: > >On Tue, Jan 20, 2004 at 11:44:33AM -0800, Tim Kientzle wrote: > > > >>Brooks Davis wrote: > >> > >>>I think there's some argument that > >>>we should move mtree and possiably newsyslog to /sbin to support the > >>>population of /var. > >> > >>Has you considered /bin/pax? > > > >It seems like that would require a complete rewrite of how we handle > >directory creation in the build/release process. >=20 > Not necessarily. >=20 > It's relatively easy to convert an mtree file to a tar > file. (Just expand the mtree file into a temp dir, then > tar up the result.) Then we could have both mtree > and tar files in /etc/mtree. > > Nothing else needs to change, and that gives us something > that can be used with /bin/pax on populate critical > dirs on systems before /usr is mounted. That's true. The idea of creating directory hierarchies just to tar them up during buildworld seem a bit evil though. > P.S. Hmmm... It looks like it would be easy for > libarchive to also read mtree files. Then > bsdtar's built-in features for converting archive formats > on-the-fly might be useful here. Hmmm.... This would deal with my concerns about making all the directories. This would yeild a reasionable, single stage method of creating source files for populating directories without requiring mtree. I like this idea. -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --+nBD6E3TurpgldQp Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFADaF8XY6L6fI4GtQRAoOvAJ9JSOHabhNjj79ZvGizblCdkb+ongCaA5tX 18qt4WF8wmV34YjOVijmC24= =HAbP -----END PGP SIGNATURE----- --+nBD6E3TurpgldQp--