Re: BUG in the block layer (partial reads not reported)

From: Alan Cox
Date: Sun Oct 23 2005 - 17:46:54 EST


On Llu, 2005-10-24 at 00:12 +0200, Helge Hafting wrote:
> Seems to me that the best fix for devices that may reïport the wrong size
> is to always use a foolproof way of determining the size. I.e. when
> a CD-R cannot be trusted, determine the size by trying to read the
> last sectors instead of using the reported number.

That may take up to half a minute on some CD drives that retry a lot
-
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/