Hi Winston,
Winston wrote:
Near line 1622 in the ddrescue.info that came with version 1.25,
near the end of section 15 Ddrescuelog, is:
ddrescuelog -l- -b512 -i63s -o0 -s767457s -b4096 mapfile> badblocks1
ddrescuelog -l- -b512 -i767520s -o0 -s96520s -b4096 mapfile> badblocks2
Both -b512 and -b4096? I'm not seeing anything in the description of
"-b" that suggests having both is useful. The example either needs
fixing or a comment saying why both.
The description of the example gives a clue:
Disc sector size is 512, file system block size is 4096. [1]
But I certainly need to explain in the manual that -b is position dependent.
The first -b sets the sector size for options -i, -o, and -s, while the
second -b sets the block size for the badblocks list.
Thank you very much for reporting this.
[1] http://www.gnu.org/software/ddrescue/manual/ddrescue_manual.html#Ddrescuelog
Best regards,
Antonio.