[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Upgrading Hard Drives



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

>> AFAIU -x will prevent rsync from touching /proc, /sys and /dev, but you
>> will need the directories themselves to be present on the new root
>> partition, so I think it is better to omit -x *if* the system you want
>> to clone is *not* running.
> 
> But wait - doesn't it copy the directories themselves, aka the mount points?

When copying systems with rsync I tend to use --exclude to prevent
/proc, /sys, etc. that way the mount points don't even need to be the
same on the target location. For example system a could have everything
in one / partition where system b has separate /boot, /usr, etc. if you
do the --exclude syntax right it'll even create the base dir and just
exclude everything under it.


Regards,
Tod Detre

- --
Pantek, Inc. - http://www.pantek.com/ - info@pantek.com
+1-877-LINUX-FIX - Expert Open Source Technical Support
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkil+NwACgkQBp/fZcDt4JvkFQCguqQZa/2L2jUnmTOvs8u+boha
NmUAoMN5iAE7DqV7s2Cn5eCu/HOPjvN4
=Nvwt
-----END PGP SIGNATURE-----


Reply to: