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