From owner-freebsd-arch@FreeBSD.ORG Thu Sep 30 23:23:06 2004 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0D99316A4CE for ; Thu, 30 Sep 2004 23:23:06 +0000 (GMT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD0B843D48 for ; Thu, 30 Sep 2004 23:23:05 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id i8UNRAPt024585 for ; Thu, 30 Sep 2004 16:27:10 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id i8UNRAjc024584 for arch@freebsd.org; Thu, 30 Sep 2004 16:27:10 -0700 Date: Thu, 30 Sep 2004 16:27:10 -0700 From: Brooks Davis To: arch@freebsd.org Message-ID: <20040930232710.GA19905@odin.ac.hmc.edu> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="h31gzZEtNLTqOjlF" Content-Disposition: inline User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu Subject: mtree before mounting /usr X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Sep 2004 23:23:06 -0000 --h31gzZEtNLTqOjlF Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 --=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 --h31gzZEtNLTqOjlF Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFBXJZNXY6L6fI4GtQRAhp/AJ0W25BulM1hYb07fEGdSYOQAf4AcQCgmDdb L6y1p25NScA2q2ROqMhojX8= =jqrs -----END PGP SIGNATURE----- --h31gzZEtNLTqOjlF--