From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Nl9Zi-0008So-KV for garchives@archives.gentoo.org; Fri, 26 Feb 2010 23:26:28 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0DAC7E0AEE; Fri, 26 Feb 2010 23:26:01 +0000 (UTC) Received: from mail.digimed.co.uk (82-69-83-178.dsl.in-addr.zen.co.uk [82.69.83.178]) by pigeon.gentoo.org (Postfix) with ESMTP id AFE23E0AEE for ; Fri, 26 Feb 2010 23:26:00 +0000 (UTC) Received: from digimed.co.uk (grunthos.digimed.co.uk [192.168.1.4]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.digimed.co.uk (Postfix) with ESMTPSA id A9B3874009E for ; Fri, 26 Feb 2010 23:25:59 +0000 (GMT) Date: Fri, 26 Feb 2010 23:25:58 +0000 From: Neil Bothwick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] When copying an os to new disk Message-ID: <20100226232558.19db160d@digimed.co.uk> In-Reply-To: <201002261700.23925.wonko@wonkology.org> References: <87hbpdotge.fsf@newsguy.com> <3ac129341002260359h2066deeby135975b1d1b19368@mail.gmail.com> <854dca5c1002260746k48e40be4pcc4d4b6ece79add2@mail.gmail.com> <201002261700.23925.wonko@wonkology.org> Organization: Digital Media Production X-Mailer: Claws Mail 3.7.5cvs23 (GTK+ 2.18.7; i686-pc-linux-gnu) X-GPG-Fingerprint: 7260 0F33 97EC 2F1E 7667 FE37 BA6E 1A97 4375 1903 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/1s7Ca=3T.O4WcArsXNItV40"; protocol="application/pgp-signature" X-Archives-Salt: f10b9e14-fd21-4757-936d-f35e3064de40 X-Archives-Hash: 05985d520bea2e2676b7cb8ba08b8c6a --Sig_/1s7Ca=3T.O4WcArsXNItV40 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable On Fri, 26 Feb 2010 17:00:22 +0100, Alex Schuster wrote: > If $old_dir is the root partition, I would bin-mount it first to > somewhere else, so other directories mounted to it > (especially/dev, /proc and /sys) are not copied: > mount -o bind / /mnt > old_dir=3D/mnt Or use the --one-file-system option for tar. --=20 Neil Bothwick I locked my coathanger in my car; good thing I had a key. --Sig_/1s7Ca=3T.O4WcArsXNItV40 Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) iEYEARECAAYFAkuIWIYACgkQum4al0N1GQPMxQCgytVjWzmYcV8NA3dPIsR8kMz6 vMgAn0j/SymqLyZAtSX9yM6GEaZXSMDE =0VBj -----END PGP SIGNATURE----- --Sig_/1s7Ca=3T.O4WcArsXNItV40--