Re: Doesn't wodim close disk ?
Hi,
Joerg Schilling:
> There is one closed session.
> The disk has not been closed to prevent appending further data and
> for this reason, there is one "invisible" session.
But the track still reports RT=0, Blank=0
with READ TRACK INFORMATION.
If it was closed then RT should be 1.
Gregoire Favre:
> readcd dev=2,0,0 -fulltoc
> ...
> CDB: 43 00 02 00 00 00 00 00 04 00
> status: 0x2 (CHECK CONDITION)
> Sense Bytes: 70 00 05 00 00 00 00 0A 00 00 00 00 24 00 00 00
> Sense Key: 0x5 Illegal Request, Segment 0
That is a READ TOC/PMA/ATIP command demanding
reply format 2 which is not available with DVD.
A complete table of content would have to be composed
out of READ DISC INFORMATION and READ TRACK INFORMATION.
A restricted TOC can be obtained for DVD media
by READ TOC/PMA/ATIP Format 0. It provides just the
info necessary for proper multi-session perparation.
Both info sources can be viewed by dvd+rw-mediainfo
where the headlines tell quite directly what
command was used:
READ DISC INFORMATION:
READ TRACK INFORMATION[#1]:
READ TRACK INFORMATION[#2]:
FABRICATED TOC: (This is from READ TOC/PMA/ATIP Format 0)
The code of dvd+rw-mediainfo.cpp is quite readable
and one can learn the meaning of reply bytes from
the MMC standard. E.g.:
http://www.t10.org/ftp/t10/drafts/mmc5/mmc5r03c.pdf
Have a nice day :)
Thomas
Reply to: