From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.62) (envelope-from ) id 1Hwh5v-0007af-Ey for garchives@archives.gentoo.org; Fri, 08 Jun 2007 16:13:48 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.0/8.14.0) with SMTP id l58GB0MW021888; Fri, 8 Jun 2007 16:11:00 GMT Received: from out4.smtp.messagingengine.com (out4.smtp.messagingengine.com [66.111.4.28]) by robin.gentoo.org (8.14.0/8.14.0) with ESMTP id l58G00t0005118 for ; Fri, 8 Jun 2007 16:00:01 GMT Received: from compute1.internal (compute1.internal [10.202.2.41]) by out1.messagingengine.com (Postfix) with ESMTP id F3B54473 for ; Fri, 8 Jun 2007 11:59:59 -0400 (EDT) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute1.internal (MEProxy); Fri, 08 Jun 2007 11:59:59 -0400 X-Sasl-enc: kuWXkiP53HiGkhulLFG1HLoZvPFaTrqz75FqdXYNpyJE 1181318399 Received: from [192.168.31.10] (cpe-76-185-203-114.tx.res.rr.com [76.185.203.114]) by www.fastmail.fm (Postfix) with ESMTP id 9684016701 for ; Fri, 8 Jun 2007 11:59:59 -0400 (EDT) Subject: Re: [gentoo-user] Moving linux system to another partition From: Albert Hopkins To: gentoo-user@lists.gentoo.org In-Reply-To: <200706081748.03919.alan@linuxholdings.co.za> References: <200706081805.00549.alexey.kv@gmail.com> <200706081718.54067.volker.armin.hemmann@tu-clausthal.de> <200706081748.03919.alan@linuxholdings.co.za> Content-Type: text/plain Organization: Gentoo Foundation Date: Fri, 08 Jun 2007 15:59:58 +0000 Message-Id: <1181318398.6030.22.camel@blackwidow.nbk> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 X-Mailer: Evolution 2.10.1 Content-Transfer-Encoding: 7bit X-Archives-Salt: b86056d5-41bd-4066-9f37-e59aa9dce730 X-Archives-Hash: b9016b08c20b7fb53c2e119115e97eb4 On Fri, 2007-06-08 at 17:48 +0200, Alan McKinnon wrote: > What the OP *will* have a problem with a copying /proc, /dev, /sys > and > other virtual filesystems. When I do this trick, I usually dd or tar > or > cp -a entire filesystems and then copy / with this trick: > > mount -o bind / /some/tmp/dir > cp -a /some/tmp/dir /some/other/dir > > This ensures that only files actually on-disk are copied You could also pass, '-x' to cp and rsync or '--one-file-system' to tar. -- Albert W. Hopkins -- gentoo-user@gentoo.org mailing list