Re: Doesn't wodim close disk ?
> 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.
> 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.:
Have a nice day :)