Control: tag -1 + confirmed Control: severity -1 minor Control: retitle -1 cdck: Documentation should mention that -t doesn't work for audio CDs
On Mon, 07 Jan 2013 21:18:03 -0500, Filipus Klutiero wrote: > cdck fails to test audio CDs. Ack. I can confirm this both by trying and be reading the code. And it seems that there's no way around it: Ccdrom::ReadCD (starting at 414) reads the sectors starting from 0 until sectors_tot. sectors_tot is set in Ccdrom::ReadTOC(), and if I remove the comment there to output the sectors of an audio CD (172), I get: sectors = -1 After trying and reading a bit further (both in cdck and in linux/cdrom.h) I _think_ this won't work for audio CDs. I can get a sectors variable by removing some conditions, but than I'm ending at: % src/cdck -t sectors = 327782 NB! For disks written with some burners cdck might report about unreadable sectors at the end of the disk. In such cases you can just ignore those warnings. Reading sectors 1-327782 ! unable to read sector 1, reason: Input/output error ! unable to read sector 2, reason: Input/output error ! unable to read sector 3, reason: Input/output error [..] So I guess this boils down to a documentation problem: -t just doesn't and won't work for audio CDs ... Cheers, gregor -- .''`. Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06 : :' : Debian GNU/Linux user, admin, and developer - http://www.debian.org/ `. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe `- NP: Johann Strauss: Donauwalzer
signature.asc
Description: Digital signature