bug-ddrescue
[Top][All Lists]
Advanced

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

Re: [Bug-ddrescue] How to do this...?


From: Paul L Daniels
Subject: Re: [Bug-ddrescue] How to do this...?
Date: Fri, 20 Jun 2014 20:19:13 +1000


> it would be convenient if ddrescue accepted a signal (eg USR1, ALRM)
> as a way to force it to flush the logfile... but if you wait a few
> minutes it'll update by itself.

        What I've ended up doing was duplicating the code for the -O /
        --reopen-on-error facility as -X --exit-on-error, right now if
        the same condition comes up I just raise a SIGINT which has the
        desired result.  There might be a more graceful way out
        ( Antonio? ) but it does the trick for now.

Paul.



-- 
Computer Repairs for Charters towers - http://ctpc.biz
A.B.N. 19 500 721 806



reply via email to

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