22 Sep
2020
22 Sep
'20
18:02
On 9/21/20 2:58 AM, Carlos E. R. wrote:
dd if=/dev/sde of=card.img bs=16M status=progress
if you can't open the block device...
Well, then we'll get an error message, in the terminal or in the syslog.
dd isn't an option because it will exit on the first read error. I think my last option is just writing a small C source to open the block device and use a low-level 'read()` from the open file descriptor. Though if I was a betting man, I would be the read with proper validation would fail and it would behave like dd. I'm saving that for a rainy day. I order more SD cards for the trail cam. One more cat down.... Damn foxes. -- David C. Rankin, J.D.,P.E.