bug-ddrescue
[Top][All Lists]
Advanced

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

Re: ddrescue reports Finished before disk writing is complete.


From: Antonio Diaz Diaz
Subject: Re: ddrescue reports Finished before disk writing is complete.
Date: Wed, 11 Jan 2023 16:25:01 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14

Eric Lovejoy wrote:
So then you get impossibly fast write times, and boot disks that dont work,
because they arent actually complete, if the user removes the disk when
ddrescue reports that the operation is complete.

Have you tried the option '--synchronous'[1]? Else the kernel may cache all the writes and pretend that it has finished.

[1] http://www.gnu.org/software/ddrescue/manual/ddrescue_manual.html#Invoking-ddrescue

-y
--synchronous
  Use synchronous writes for outfile. (Issue a fsync call after every write).

I'm just a dumb construction worker, but if i had to guess, ddrescue is
listening to userspace libraries, rather than kernel signal processes.

How does one portably listen to kernel signal processes (whatever these are)?

Regards,
Antonio.



reply via email to

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