art wrote:
Would this command clone partitions of different sizes? Say /dev/hda1 is 3.2gb to dev/hdb1 which is 4.3 gb?
I think what Roderick suggested is safer: use dd.
On my box this is what I always use either to save a root disk to an img or making a clean working live cd. I even use it piped to a perl command to look for portions of my passphrase in case it gets cached on the swap partition.
But if you need to test for integrity of the img file (hardly a problem nowadays with the new generation hardrives) you could just make a tarball.
There are other options out there.
Art
On Mon, 2004-08-02 at 21:51, Michael Chaney wrote:
On Mon, Aug 02, 2004 at 07:32:09PM +0800, Winelfred Pasamba wrote:
or just
cat /dev/hda > /dev/hdc
Because it reads the partition as a stream, byte by byte. dd is made for reading block devices, and setting a large block size can dramatically increase performance.
Michael
-- Philippine Linux Users' Group (PLUG) Mailing List [EMAIL PROTECTED] (#PLUG @ irc.free.net.ph) Official Website: http://plug.linux.org.ph Searchable Archives: http://marc.free.net.ph . To leave, go to http://lists.q-linux.com/mailman/listinfo/plug . Are you a Linux newbie? To join the newbie list, go to http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie
-- Philippine Linux Users' Group (PLUG) Mailing List [EMAIL PROTECTED] (#PLUG @ irc.free.net.ph) Official Website: http://plug.linux.org.ph Searchable Archives: http://marc.free.net.ph . To leave, go to http://lists.q-linux.com/mailman/listinfo/plug . Are you a Linux newbie? To join the newbie list, go to http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie
