-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Sun, Feb 18, 2007 at 07:14:16PM -0600, Les Mikesell wrote:
Rodrigo Barbosa wrote:
As a safety mesurement you could clone the machine ("cp -a") to a
"cp -a" for cloning ? Errr, bad mistake.
"dump -0f - / | ( cd /newlocation; restore -f - )" is a much better idea on these cases.
The results should be pretty much the same on anything with GNU cp except that cp can copy to different filesystem types. It is a good idea to use the --one-file-system option and repeat for each partition.
Are you sure ? Last I remember, "cp -a" does not preserve some of the inode data. Also, it does some file reordering.
Yes, most of these are inconsequential on a practical pov, but it is still farther from cloning than using dump/restore.
Of course, if you want real cloning you would have to use "dd", but that is _way_ beside the point here.
[]s
- -- Rodrigo Barbosa "Quid quid Latine dictum sit, altum viditur" "Be excellent to each other ..." - Bill & Ted (Wyld Stallyns)