From owner-cvs-src@FreeBSD.ORG Thu Sep 23 19:12:58 2004 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E3F3916A4CE; Thu, 23 Sep 2004 19:12:58 +0000 (GMT) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7D46A43D45; Thu, 23 Sep 2004 19:12:58 +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 i8NJFcm2003080; Thu, 23 Sep 2004 12:15:38 -0700 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id i8NJFc3u003079; Thu, 23 Sep 2004 12:15:38 -0700 Date: Thu, 23 Sep 2004 12:15:38 -0700 From: Brooks Davis To: Luigi Rizzo Message-ID: <20040923191538.GG25699@odin.ac.hmc.edu> References: <200409231552.i8NFqh1c042744@repoman.freebsd.org> <20040923120543.B72856@xorpc.icir.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="HB4mHL4PVvkpZAgW" Content-Disposition: inline In-Reply-To: <20040923120543.B72856@xorpc.icir.org> 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 cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org Subject: Re: cvs commit: src/share/examples/diskless clone_root X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Sep 2004 19:12:59 -0000 --HB4mHL4PVvkpZAgW Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 23, 2004 at 12:05:43PM -0700, Luigi Rizzo wrote: > On Thu, Sep 23, 2004 at 03:52:43PM +0000, Brooks Davis wrote: > ... > > Hack around the fact that the current diskless scripts require some > > binaries in /usr before /usr is mounted by copying those files to the >=20 > this was fixed long ago, did the problem reappear somehow ? > in case, the proper place to fix is the scripts in /etc/rc*, not > put a bandaid here which has high chances of being broken again. The problem is that currently there is no way to populate /var without a minimum of mtree which lives in /usr. Since /var is supposed to exist before we mount /usr there's a dependency problem. We should be able to fix the mtree dependency now that bsdtar is available since we could install a pax archive derived from the mtree file. We also strongly desire the creation of syslog files which currently requires newsyslog. The requirement for touch might be removable but I haven't really tried since the others are more fundamental. My personal opinion is that there isn't a whole lot of reason to configure a diskless system where / and /usr aren't on the same FS so I never hit this problem on my own systems. -- 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 --HB4mHL4PVvkpZAgW Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFBUyDZXY6L6fI4GtQRAkJaAJ4rx1g0xdfEEbHUyc9XcNHSP8/YkQCeJNbG M+cANuhJkSvx3FybtoZYYyw= =zBS3 -----END PGP SIGNATURE----- --HB4mHL4PVvkpZAgW--