brooks at one-eyed-alien.net
Tue Jan 20 13:45:44 PST 2004
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.
> 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.
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.
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20040120/6cf65e25/attachment.bin
More information about the freebsd-current