From owner-freebsd-questions@FreeBSD.ORG Mon Jun 23 08:29:37 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 747E437B401 for ; Mon, 23 Jun 2003 08:29:37 -0700 (PDT) Received: from smtp.infracaninophile.co.uk (happy-idiot-talk.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5BC2A43F93 for ; Mon, 23 Jun 2003 08:29:33 -0700 (PDT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [127.0.0.1]) h5NFTJ1I093532 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 23 Jun 2003 16:29:26 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)h5NFTJRP093531; Mon, 23 Jun 2003 16:29:19 +0100 (BST) (envelope-from matthew) Date: Mon, 23 Jun 2003 16:29:19 +0100 From: Matthew Seaman To: D J Hawkey Jr Message-ID: <20030623152919.GC92371@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , D J Hawkey Jr , questions at FreeBSD References: <20030623134307.GA3080@sheol.localdomain> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="GZVR6ND4mMseVXL/" Content-Disposition: inline In-Reply-To: <20030623134307.GA3080@sheol.localdomain> User-Agent: Mutt/1.5.4i X-Spam-Status: No, hits=-11.4 required=5.0 tests=AWL,BAYES_00,EMAIL_ATTRIBUTION,IN_REP_TO,PGP_SIGNATURE_2, QUOTED_EMAIL_TEXT,REFERENCES,REPLY_WITH_QUOTES, USER_AGENT_MUTT autolearn=ham version=2.55 X-Spam-Checker-Version: SpamAssassin 2.55 (1.174.2.19-2003-05-19-exp) cc: questions at FreeBSD Subject: Re: Updating FBSD on one slice from another slice X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Jun 2003 15:29:37 -0000 --GZVR6ND4mMseVXL/ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 23, 2003 at 08:43:07AM -0500, D J Hawkey Jr wrote: > What I'm stumped with is how to tell 'make [build|install][world|kernel]' > to do their thing from the OS in the slice I'm running (the newer), but > do the reads and writes on the other, older slice. Same conundrum with > 'mergemaster'; how do I tell it to do it's thing on that older slice? > A mountpoint on the newer slice I'm running, "/mnt/s2", is the older > slice's "/", so the entire other, older slice is visible. You'll have to copy /mnt/s2/etc/make.conf temporarily in place of /etc/make.conf, if there's any significant difference between the two systems. Then you can just do: # cd /mnt/s2/usr/src # make installkernel installworld KERNCONF=3DFOO DESTDIR=3D/mnt/s2 # mergemaster -m /mnt/s2/usr/src -D /mnt/s2 Alternatively, take a look at the chroot(8) or jail(8) man pages... Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --GZVR6ND4mMseVXL/ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE+9xzPdtESqEQa7a0RAoRXAJ4pxJWLq+7rwmk+uFAwSgFoDzOyRQCdFHTO x/rElsEFv/jbGN9vpQfwNGI= =4AFe -----END PGP SIGNATURE----- --GZVR6ND4mMseVXL/--