[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: kern/47676: Off-by-one error in reported CD capacity means last sector cannot be read
The following reply was made to PR kern/47676; it has been noted by GNATS.
From: "Mark" <markk%clara.co.uk@localhost>
Subject: Re: kern/47676: Off-by-one error in reported CD capacity means last
sector cannot be read
Date: Thu, 2 May 2013 17:11:50 +0100
On Fri, March 29, 2013 23:05, Reinoud Zandijk wrote:
> BRRR... the horrors haunt me again :) They seem to always create a -ROM
> first and then later bodge -R and -RW/-RE versions *sigh*
> It would explain the 2 less reported. Hmm i could make the code check the
> type and if its a CD-R(W) make it DTRT but it won't be pretty. On
> recorders I
> use the newer READ_TRACKINFO but aparently they haven't fixed it there
> at least in some drives.
> It needs more thought aparently, though i hope to fix it ASAP before 6.2
> rolled out or 7 gets forked.
I wonder whether it's worth trying to correct too-large reported
capacities at all. Do any other operating systems attempt to do that? It
may not be worth the hassle.
Many pressed CD-ROMs cause drives to report a too-large capacity as well.
Main Index |
Thread Index |