Gentoo Archives: gentoo-user

From: Marc Blumentritt <marc.blumentritt@×××××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Best way to copy /* ?
Date: Mon, 27 Dec 2010 21:07:30
Message-Id: ifaspv$juh$1@dough.gmane.org
In Reply to: [gentoo-user] Re: Best way to copy /* ? by Remy Blank
1 Am 27.12.2010 18:05, schrieb Remy Blank:
2 > Mark Knecht wrote:
3 >> What flags?
4 >
5 > At least -avHAX
6
7 I just run this as root (as a test while running my old system):
8
9 rsync -avHAX --progress /home/ /new/
10
11 After a few seconds I canceled this with ctrl-c and got this result:
12
13 hive new # ls -lah /home/
14 total 44K
15 drwxr-xr-x 6 root root 4.0K May 2 2009 .
16 drwxr-xr-x 20 root root 4.0K Dec 27 17:59 ..
17 -rw-r--r-- 1 root root 0 Apr 20 2007 .keep
18 drwx------ 2 root root 16K Aug 18 2007 lost+found
19 drwxr-xr-x 81 marc users 4.0K Dec 27 21:07 marc
20 drwx------ 6 root root 4.0K Dec 11 20:33 root_dev
21 drwxr-xr-x 4 marc root 4.0K Sep 7 2007 virtualbox
22 hive new # ls -lah /new/
23 total 24K
24 drwxr-xr-x 6 root root 4.0K May 2 2009 .
25 drwxr-xr-x 20 root root 4.0K Dec 27 17:59 ..
26 -rw-r--r-- 1 root root 0 Apr 20 2007 .keep
27 drwx------ 2 root root 4.0K Aug 18 2007 lost+found
28 drwxr-xr-x 81 marc users 4.0K Dec 27 21:13 marc
29 drwx------ 2 root root 4.0K Dec 27 21:13 root_dev
30 drwx------ 2 root root 4.0K Dec 27 21:13 virtualbox
31
32
33 Have a look at ownership an permissions of virtualbox!
34 Another problem:
35
36
37 hive new # ls -lah /new/marc/
38 total 584K
39 drwxr-xr-x 81 marc users 4.0K Dec 27 21:13 .
40 drwxr-xr-x 6 root root 4.0K May 2 2009 ..
41 [...]
42 drwx------ 2 root root 4.0K Dec 27 21:13 Bilder
43 [...]
44 drwx------ 2 root root 4.0K Dec 27 21:13 Dateien
45 [...]
46 drwx------ 2 root root 4.0K Dec 27 21:13 Desktop
47 [...]
48
49
50 Originally all this dirs are owned by marc:users or marc:marc.
51
52 I have no clue at all what is happening here!
53
54 My home partition is ext3 mounted with these options (from fstab):
55 noatime,user_xattr
56
57 My new partition is ext4 mounted with no special options.
58
59 Any ideas?
60
61 Marc

Replies

Subject Author
[gentoo-user] Re: Best way to copy /* ? Remy Blank <remy.blank@×××××.com>