[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-ddrescue] checkpoint the log file ever n MB
From: |
David Burton |
Subject: |
Re: [Bug-ddrescue] checkpoint the log file ever n MB |
Date: |
Sun, 23 Jul 2006 20:31:45 -0400 (EDT) |
address@hidden (Dabbler) wrote:
> I've just started using this yesterday. Where is the log being written to?
> /temp?
No, the location of the logfile is a command-line parameter.
Type "info ddrescue" and read about it.
The logfile format is plain ASCII, well thought-out, and easy
to understand, which makes ddrescue quite extensible. I've
found that very useful, since I've written some Perl scripts
that use and manipulate ddrescue logfiles in various ways:
ddrsummarize.pl -- "Summarize a ddrescue log file"
ddrsplit.pl -- "DDRescue logfile SPLITter"
ddrcombine.pl -- "DDRescue logfile COMBINEr"
ddrlogand.pl -- "DDR LOGical .AND."
ddr2sr.pl -- "ddrescue-to-SpinRite"
ddr2nfi.pl -- "DDRescue to NFI"
nfisummarize.pl -- "Summarize the output of many NFI commands"
fat32inf.pl -- "FAT32 info"
clustersize.pl -- "Shows cluster size(s) for FAT and NTFS partitions"
foreach.pl -- "Repeat a command for each filename or argument"
Recent versions of ddrescue work better with big logfiles
than do earlier versions, but if the logfile grows to enormous
size you can help performance by splitting it into pieces.
Split it with ddrsplit.pl, and then run ddrescue on each of
the portions of the drive corresponding to the portions of the
split logfile. Then recombine the pieces with ddrcombine.pl.
If you need these Perl scripts, let me know. There's an
archive on my web server, but it is out of date. If someone
needs 'em, I'll post the latest ones.
-Dave