NetBSD-Bugs archive

[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 real reason of the error might not even be in NetBSD's cd.c itself though
i'm preparing a patch to cleanup things.

What is going on is that the device is lying to you! The on disk low level CD
format is quite overcomplex complete with sector data interleaving etc. it
was also originally designed for audio.

What can be done is on detection of a CD-R, adjust the size of the tracks as
per definition of mmc; i might need to add 2 sectors.




Home | Main Index | Thread Index | Old Index