Christian Franke wrote:
when using --fill=- to force reallocation of bad disk blocks, write
behind buffering should be disabled.
Therefore, it would make sense to allow "-d, --direct" in fill mode. It
should set O_DIRECT for the output file in this case.
I think buffered write is not a problem if followed by a call to fsync,
as ddrescue does.
OTOH, Linus hates O_DIRECT for writing
http://lkml.org/lkml/2007/1/11/129 , and I suppose he knows more about
it than me.
Regards,
Antonio.
_______________________________________________
Bug-ddrescue mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-ddrescue