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

Re: copying entire hard drive



On Sun, Oct 12, 2003 at 12:58:41PM -0400, Gerard Ceraso wrote:
> I have a hard drive that is going bad so I want to copy it from the old
> hard drive to the new one, same hd and everything. I was wondering which
> was faster doing dd if=/dev/hdc of=/dev/hda or mounting each partition
> and and just using cp.

dd copies the entire drive, including all the blank space. cp won't
copy the blank bits, so that's faster.

-- 
Pigeon

Be kind to pigeons
Get my GPG key here: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x21C61F7F

Attachment: pgpJNuFIt3bMS.pgp
Description: PGP signature


Reply to: