Gentoo Archives: gentoo-user

From: Albert Hopkins <marduk@g.o>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Moving linux system to another partition
Date: Fri, 08 Jun 2007 16:13:48
Message-Id: 1181318398.6030.22.camel@blackwidow.nbk
In Reply to: Re: [gentoo-user] Moving linux system to another partition by Alan McKinnon
1 On Fri, 2007-06-08 at 17:48 +0200, Alan McKinnon wrote:
2 > What the OP *will* have a problem with a copying /proc, /dev, /sys
3 > and
4 > other virtual filesystems. When I do this trick, I usually dd or tar
5 > or
6 > cp -a entire filesystems and then copy / with this trick:
7 >
8 > mount -o bind / /some/tmp/dir
9 > cp -a /some/tmp/dir /some/other/dir
10 >
11 > This ensures that only files actually on-disk are copied
12
13 You could also pass, '-x' to cp and rsync or '--one-file-system' to tar.
14
15 --
16 Albert W. Hopkins
17
18 --
19 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] Moving linux system to another partition Aleksey Kunitskiy <alexey.kv@×××××.com>