Question re the disk driver for /dev/sr0

From: Gene Heskett
Date: Tue Apr 22 2008 - 12:41:50 EST


Greetings;

Has something been done to that code that is preventing /dev/sr0 from
correctly reporting a busy or not ready status to k3b in the last year or so?

K3B used to dutifully wait till the drive, on reloading the disc after burning
it, was ready to service its verify request. Now, and for several months or
more, k3b attempts to read the drive immediately on the disc's being pulled
back in, and of course fails, causing k3b to bail out of the verify phase
completely.

So we are left doing it by hand, a 2 stage process, by first dividing the size
of the iso file being burnt by 2048 to get the number of blocks to read, and
then feeding dd's output for that many size 2048 blocks to sha1sum. This
works fine but requires the user to understand what it is he is doing. :)

--
Cheers, Gene
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
Life exists for no known purpose.
--
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/