bug-ddrescue
[Top][All Lists]
Advanced

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

[Bug-ddrescue] Re: output the list of bablocks suitable for e2fsck -L


From: Antonio Diaz Diaz
Subject: [Bug-ddrescue] Re: output the list of bablocks suitable for e2fsck -L
Date: Fri, 07 Jan 2011 19:01:36 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.7.11) Gecko/20050905

Hello Valerio,

Valerio Messina wrote:
first of all, thanks for GNU ddrescue, it recover almost all my 160 GB
2.5" disk. Only 84 zones, 150 sectors, 75 KB remain unreadable, still
retrying with -r9 -d, will see ...

You are welcome, and good luck with the retries. :-)


In case of a know file system type, but almost all use block size of
4096, can be useful to output the list of badblock only.
This list should be in a format suitable for commands like:
e2fsck -vf -L badblocklist.txt /dev/sdaX
so one block number per line, in decimal format, like the output of
badblocks.
The block size should be a parameter to ddrescue, when this output list
is requested, to output the correct block number (like badblocks -b).
4096 can be the default.

This seems indeed an useful feature. I am thinking about adding a companion program to ddrescue (ddrescuelog ?) for non-rescue tasks, mostly logfile-related, like this. What do you think?


Best regards,
Antonio.



reply via email to

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