>>>>> "John" == John Hunter <[EMAIL PROTECTED]> writes:

    John> Hey I tried to figure out the block size of my hard drive
    John> using this trick but am not sure how to get the block size.
    John> I get: 

OK, before you waste any time trying to answer that question, I got
the answer the old fashioned way, from technical specs of the Maxtor
web site.

It turns out that both drives have the same block size, and I am
limiting dd to the block count of the number of blocks used by the
source drive (since that partition is larger than the destination
partition, but the destination partition has enough blocks to cover
the used blocks of the source partition).


root# df --block-size=512
Filesystem          512-blocks      Used Available Use% Mounted on
/dev/hda2             30672400  11522232  19150168  38% /c
/dev/hdb2             30702304  11818352  18883952  39% /old/c

root# nice dd bs=512 if=/dev/hdb2 of=/dev/hda2 count=11818352

I hope that this will get the mystery bits that Erik says
Microsoft puts on the end of their drives.

John

_______________________________________________
Bits mailing list
[EMAIL PROTECTED]
http://www.sugoi.org/mailman/listinfo/bits

Reply via email to