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

Re: Migrate OS to smaller drive?



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

Sjoerd Hardeman wrote:
> mount the new device (mount -odev /dev/newdevice), and do a
>  rsync -ax / /media/newdevice.

What exactly is the advantage of this approach over "cp -a" or "mv"?

I would have suggested mv. It has the useful property that you can
easily spot aborted transfers by the fact that the original device is
not empty afterwards.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkvBymgACgkQ+VSRxYk440+GBQCgq0EvrFUI7Hm4A8Q73ncz7KTF
51UAn0weYuo1nka6TqTxggBp4Y/tzA8O
=QZnM
-----END PGP SIGNATURE-----


Reply to: