> > > > > (And the other limitations make incremental writing
> > > > > through the OS cumbersome except for DVD-RAM)
> > > >
> > > > Hmm, formatted DVD+RW media also has no such 
> > > > restrictions, you can read/write individual 2048 byte blocks,
> > > > just like DVD-RAM.
> > > 
> > > This is not true.
> > > 
> > > DVD+RW has more restrictions than a formatted CD-RW or DVD-RW
> >
> > Can you give me a hint what kind of restrictions there are for DVD+RW
> > media, which I missed so far (and that are worse than CD-RW or DVD-RW) ?
> >
> > Or are you confusing it with the restrictions that exist for DVD-RW media 
> > that is
> > formated into "restricted overwrite" mode?
> 
> NO, but you need to flush the cache 

SYNCHRONIZE CACHE is already present in sdclose(), when
un_f_dvdram_writable_device == TRUE.  For DVD+RW we could
do the same.

> and update the TOC before you are allowed
> to open the tray after you did write to the device.

The MMC-5 standard says that there is exactly one logical track on
a DVD+RW media (READ TRACK INFORMATION command):

»6.33.3.16.6 DVD+RW Track Size
A DVD+RW disc has exactly one logical track, track 1.
The logical track size is calculated using information collected from the disc 
ADIP:
 Logical Track Size = End Physical Sector Number of Data Area
          - Starting Physical Sector Number of Data Area + 1.«

Again, this is exactly the same as DVD-RAM.

The READ TOC command for DVD+RW is supposed to return a 
"fabricated toc" with track 1 starting at LBA 0, and a 0xAA leadout
starting at the capacity of the media.

See the cdrw -M output in my previous message: it reports a track 1 capacity
of 2295104 sectors = 4.7 GB.
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to