Hello Hervé,

Hervé Bérenger wrote:
Thanks a lot for this great soft, ddrescue !

You are welcome! :-)


A short anecdote : the drive capacity was 400Go ; retrieving all the data was taking ages, so I looked at the code to check whether I could improve it and realized it used the "open" function to access the peripheral. "/Ah ah/", I thought, "/why not use fopen, which is said to be faster ?/". Certainly a bad idea !

On posix systems, 'fopen' is usually built on top of 'open', so it should not be faster. 'open' is also lower level and does provide more control than 'fopen'.


Morality : I'll think twice next time I fancy I could be smarter than the software author (because most often I won't !)

At least it is a good idea to not make experiments in the middle of a real rescue.


Thanks again (I've just made a donation through paypal),

Thank you very much for supporting the development of ddrescue.


Best regards,
Antonio.

_______________________________________________
Bug-ddrescue mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-ddrescue

Reply via email to