Re: DVD rescue: Rescued data in mapfile goes past end of input file ?

2024-04-14 Thread Fab Stz
Le vendredi 12 avril 2024, 18:14:09 CEST Christian Franke a écrit :
> Antonio Diaz Diaz wrote:
> > Hello Fab,
> > 
> > Fab Stz wrote:
> >> I have this error message:
> >> 
> >> Rescued data in mapfile goes past end of input file.
> >> Use '-C' if you are reading from a partial copy.
> > 
> > This means that the first DVD reader reported a size larger than the
> > second DVD reader did. Maybe the first reader rescued the two lead out
> > sectors at the end of the DVD, and the second reader does not
> > recognize them as part of the input. See
> > http://www.gnu.org/software/ddrescue/manual/ddrescue_manual.html#Optical-m
> > edia
> Other differences might occur if a rewritable DVD is used: lseek(fd, 0,
> SEEK_END) might return the full recordable size if a DVD recorder is
> used, but not if a reader is used. This might also depend on operating
> system.

Thank you.

One of the device has DVD writer capability, while the other can only read the 
IIRC. So that may explain it.

Regards
Fab






Re: DVD rescue: Rescued data in mapfile goes past end of input file ?

2024-04-12 Thread Christian Franke

Antonio Diaz Diaz wrote:

Hello Fab,

Fab Stz wrote:

I have this error message:

Rescued data in mapfile goes past end of input file.
Use '-C' if you are reading from a partial copy.


This means that the first DVD reader reported a size larger than the 
second DVD reader did. Maybe the first reader rescued the two lead out 
sectors at the end of the DVD, and the second reader does not 
recognize them as part of the input. See 
http://www.gnu.org/software/ddrescue/manual/ddrescue_manual.html#Optical-media




Other differences might occur if a rewritable DVD is used: lseek(fd, 0, 
SEEK_END) might return the full recordable size if a DVD recorder is 
used, but not if a reader is used. This might also depend on operating 
system.


--
Regards,
Christian




Re: DVD rescue: Rescued data in mapfile goes past end of input file ?

2024-04-12 Thread Antonio Diaz Diaz

Hello Fab,

Fab Stz wrote:

I have this error message:

Rescued data in mapfile goes past end of input file.
Use '-C' if you are reading from a partial copy.


This means that the first DVD reader reported a size larger than the second 
DVD reader did. Maybe the first reader rescued the two lead out sectors at 
the end of the DVD, and the second reader does not recognize them as part of 
the input. See 
http://www.gnu.org/software/ddrescue/manual/ddrescue_manual.html#Optical-media


Ddrescue complains because the sizes do not match. This is to prevent 
accidentally overwriting an image with unrelated data from the wrong input 
device.


If you are sure that the DVD is the same, just give ddrescue the option -C 
so that it can try to fill the gaps.


Best regards,
Antonio.