Date: Tue, 20 Jan 2004 13:45:33 -0800 From: Brooks Davis <brooks@one-eyed-alien.net> To: Tim Kientzle <kientzle@acm.org> Cc: current@freebsd.org Subject: Re: REVIEW: cleanvar.patch Message-ID: <20040120214533.GC11747@Odin.AC.HMC.Edu> In-Reply-To: <400D9DC7.2050209@acm.org> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
--+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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040120214533.GC11747>