El sáb, 08 de feb de 2003, a las 23:49 +0100,
 Christian decía que:

> What about
> 
> cp /dev/sdx /dev/sdy
> 


cp, dd and every command use the system calls, and system calls use
the drivers, and i am not sure the drivers don't modify "structure".

example:
   step 1) you read a block of data from one of the hard-disks
   step 2) when you are going to write the block on the other,
           the sector has a hardware error, so the driver mark
           the sector as useless and write the information on
           other sector.

The data on both is the same for sure, but the structure is not the
same.

One solution is to simulate a hard-disk on top of another hard-disk
(or memory or whatever), something like a virtual hard-disk that allow
you to forget about these hardware differences.

-- 
Alberto Cortés Martín     | Ing. en Telecomunicación
email: [EMAIL PROTECTED]  | Universidad Carlos III
Jabber y MSN: alcortes43  | Madrid
ICQ#: 101088159           | Spain
url: http://montoya.aig.uc3m.es/~acortes/index.html

  1A8B 0FE6 2094 8E48 38A2  7785 03CD 07CD 6CA4 E242

Attachment: msg08609/pgp00000.pgp
Description: PGP signature

Reply via email to