|
From: | Antonio Diaz Diaz |
Subject: | Re: [Bug-ddrescue] bug on non-hardbs rounded start position or size! |
Date: | Wed, 03 Jun 2015 17:57:34 +0200 |
User-agent: | Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.8.1.4) Gecko/20070601 SeaMonkey/1.1.2 |
address@hidden wrote:
Well, read and write operations are working on intervals, and those intervals have a lower and an upper endpoint. If we simply rounded them both down to the nearest physical sector bounds, everything would work perfectly:
Not so perfectly. 1) your suggestion would overwrite data outside of the rescue domain.2) You suppose that offset between input and output is always 0. For example, where should ddrescue write the first 100 bytes in the following example if the ipos is rounded to 0?
ddrescue -i 100 -o 0 Regards, Antonio.
[Prev in Thread] | Current Thread | [Next in Thread] |