On Sat, 29 Jul 2000, Charles Curley wrote:
> OK, suppose the old hard drive has 35 sectors per track. If the new hard
> drive has fewer, say, 30, then dd will write the 31st sector of a give
> track somewhere else, Murphy only knows where, or it will error out and
> refuse to write it. So you are hosed.
[rest of post snipped, but read that before my reply]...

I thought Linux ran at a high enough level over the hardware that this
wasn't an issue.

CHS is old-style INT13 addressing, correct?  Most modern BIOS will address
the drive via LBA, and the drive should appear to be a linear array of
sectors (correct me if I'm wrong).  At any rate, I thought it was the
kernel that handled the "where does this go on the drive" bit, not the
userland copying software.

Isn't the only difference between `dd` and `cp` that `dd` handles the
data
in "bs" sized blocks?

-Matt Stegman
<[EMAIL PROTECTED]>


Reply via email to