1 |
On 03/21/2012 03:02 AM, Joshua Murphy wrote: |
2 |
> 1) make backups and... 1.a) verify backups... consider this my disclaimer... |
3 |
> 2) mkdir /mnt/root-bind/ /mnt/usr-bind/ |
4 |
> 3) mount --bind / /mnt/root-bind/ |
5 |
> 4) mount --bind /usr/ /mnt/usr-bind/ |
6 |
> 5) rsync --archive --hard-links --sparse --progress /mnt/usr-bind/ |
7 |
> /mnt/root-bind/usr/ |
8 |
|
9 |
At first it looked like you were copying things onto themselves. Then I |
10 |
noticed I was wrongly assuming --rbind mount operation rather than the |
11 |
actual plain --bind that you use. Nice approach! |
12 |
|
13 |
Best, |
14 |
|
15 |
|
16 |
|
17 |
Sebastian |