|
From: | Iphone Recovery Online Info |
Subject: | Re: [Bug-ddrescue] Small suggestion regarding the tutorial (in the online doc) |
Date: | Thu, 10 Oct 2013 07:56:23 +0200 |
User-agent: | Mozilla/5.0 (Windows NT 5.1; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 |
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
[Prev in Thread] | Current Thread | [Next in Thread] |