Disk copy, last sector problem

From: David Balazic
Date: Tue Jun 22 2004 - 04:31:29 EST


Hi!

cat /dev/hda > /dev/hdc

This would not copy the entire disk as expected, but miss the last sector if
the number of
sectors on hda is odd. ( I used "cat" becasue it has the simplest syntax,
"dd" and other behave the same ).
Has this been fixed recently ?
What about suppport of other sectors sizes, like 8kb ?

Regards,
David Balažic

----------------------------------------------------------------------------
-----------
http://noepatents.org/ Innovation, not litigation !
---
David Balazic mailto:david.balazic@xxxxxxxxx
HERMES Softlab http://www.hermes-softlab.com
Zagrebska cesta 104 Phone: +386 2 450 8851
SI-2000 Maribor
Slovenija
----------------------------------------------------------------------------
-----------
"Be excellent to each other." -
Bill S. Preston, Esq. & "Ted" Theodore Logan
----------------------------------------------------------------------------
-----------








-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/