[Pkg-opt-media-team] Bug#615978: Pseudo OverWrite handling is inconvenient ?
michael
michael.herscheid at positix.de
Mon Mar 7 10:57:58 UTC 2011
Hi there,
the Pseudo Over Write (pow) BD-R feature is causing this behaviour.
The drive is asked, if it is capable to use POW. The nwa (Next Writeable
Address) will not be used to calculate media capacity if the drive
reports positive.
Patch below.
When the Remaining Blocks for track are calculated, the POW blocks
won't be counted as writeable, so the remaining blocks are counted
correctly.
No strings attached ?
regards,
michael
--- growisofs_mmc.cpp.org 2008-03-04 18:47:49.000000000 +0100
+++ growisofs_mmc.cpp 2011-03-07 11:49:17.000000000 +0100
@@ -410,7 +410,7 @@
}
nwa = 0;
- if (buf[7]&1 && !bdr_plus_pow) // NWA_V
+ if (buf[7]&1) // NWA_V
{ nwa = buf[12]<<24;
nwa |= buf[13]<<16;
nwa |= buf[14]<<8;
More information about the Pkg-opt-media-team
mailing list