[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-ddrescue] [Bulk] Re: Tip: Improving recovery chances with Seaga
Re: [Bug-ddrescue] [Bulk] Re: Tip: Improving recovery chances with Seagate "F3" models
Wed, 04 Jun 2014 18:56:16 -0400
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0
On 6/4/2014 1:35 PM, Antonio Diaz Diaz wrote:
I am not yet sure how to do that, but I would assume that it would still
involve using conditional compilation code like I mentioned. But I could
be wrong. I am sure it could be figured out.
I mean passing an option to configure as in:
./configure --enable-passthrough && make && make install
This way everybody else gets a normal ddrescue built.
But my patch will not do anything different unless the user actually
uses an option in the ddrescue command line. Just like --direct must be
manually selected, so would --scsi-passthrough and --ata-passthrough,
and I would not include an easy single letter that would enable it so it
would have to be fully typed out (could even add a
"yes-i-know-what-i-am-doing" switch for added safety). I would not even
consider making a patch that did not make the passthrough an option that
had to be intentionally selected.
Ddrescue already works like this. It is the kernel the one returning a
total block failure when it finds a bad sector. I wish the kernel
behaved better in case of read error. (Maybe some kernel version
behaves as you describe. I don't know).
We will definitely talk about this more when I am finally ready for it.