Hi Scott,
One thing you may want to do is as follows: now we need to provide
--force in order to allow writing to a device and not a file. In such
cases, you may query the model number and serial number like smartctl
does, and print them to the console, and ask for a last confirmation
from the user ("Please check the model and serial numbers on the hard
disks, and press Y if they are correct").
I'm not sure how can you do that in a device-independent manner
though. You can find some C code to start with here:
http://stackoverflow.com/questions/2432759/usb-drive-serial-number-under-linux-c
...
Request:
IF you do this, PLEASE include an option flag to bypass it, for those
of us that may call ddrescue from another program.
Fully agree! Sorry I forgot to mention this.
Peter
_______________________________________________
Bug-ddrescue mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-ddrescue