mtree before mounting /usr
Brooks Davis
brooks at one-eyed-alien.net
Thu Sep 30 16:23:06 PDT 2004
I'm trying to remove the dependencies on tools in /usr from the
/etc/rc.d/var script. I've managed to eliminate touch and newsyslog,
but I would like some feedback on the best way to eliminate mtree.
Currently mtree lives in /usr/sbin. I need to populate the empty md(4)
based /var. There are two main approaches I can think of:
- Move mtree to /sbin. We'd probalby have to leave a symlink behind,
but it would work and be fairly easy.
- Add support to bsdtar for reading mtree files and use that
functionality to create pax archives of BSD.var.dist and
BSD.sendmail.dist.
Comments?
-- Brooks
--
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
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-arch/attachments/20040930/dd8226f8/attachment.bin
More information about the freebsd-arch
mailing list