bug-ddrescue
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-ddrescue] bug on non-hardbs rounded start position or size!


From: Florian Sedivy
Subject: Re: [Bug-ddrescue] bug on non-hardbs rounded start position or size!
Date: Tue, 02 Jun 2015 15:18:45 +0200

To stay true to domain limits, ddrescue could issue a corrected hrdbs rounded 
read in direct mode, but only use the part that was requested. 

This solution could even be automatic, as the only negative effect would be a 
potentially unnecessary second read of the same block, when the other halve is 
eventually requested in another run. Yes, it means throwing away successfully 
read data, but this is generally in the responsibility of a user requesting a 
non-rounded domain, and no different from what really happens when reading the 
same domain from a block device without direct mode. 

Greetings, 
Florian

Am 02.06.2015 um 14:01 schrieb Antonio Diaz Diaz:

> Dmitri Kostin wrote:
>> What about parsing such cmdline options as -d -i379G+ -s17k- meaning
>> rounding up and down? And without + or - use current processing
>> algorithm without any corrections of partial sectors.
> 
>> Second idea - to round -i to lesser value (down) and -s value UP - to
>> read more data.
> 
> The "+-" idea seems confusing. Either leaving the current behaviour or 
> implementing your second idea seem both better and easier.
> 
> I am fighting with the idea of reading beyond domain limits, but failing  the 
> partial reads in direct mode does not seem a much better solution.
> 
> As nobody has complained (yet), I think I'll implement your second idea.
> 
> 
> Thanks and regards,
> Antonio.
> 
> _______________________________________________
> Bug-ddrescue mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/bug-ddrescue




reply via email to

[Prev in Thread] Current Thread [Next in Thread]