WelcomeUser Guide
ToSPrivacyCanary
DonateBugsLicense

©2024 Poal.co

1.4K

dd (disk dump) is a low-level data streaming tool, upon which gddrescue is based.

Yesterday, when working at the computer while tired, I accidentally mistyped the output drive file when I wanted to restore a damaged MicroSD card (/dev/sdo) file system from an image file. This is the first time this mistake happened to me. Maybe it was bound to.

This caused the file system of the flash drive at /dev/sdp to be crucified (overwritten by the image file intenfed for /dev/sdo). I realized the mistake after around 10 seconds, but the first ~400 MB were already overwritten.

Thankfully, parts of the data were backed up. But I now realize how much I took the now lost data for granted.

And thankfully, the USB 3.0 hub was connected to the computer through an USB 2.0 cable! Otherwise, the much higher transfer rates would have demolished much more data!

Some files still exist, but can only be found using forensic software which scans for file headers.

And some fragmented files will need to be puzzled together. But file names, attributes (e.g. dates and times), and directory paths are completely lost.

`dd` (*disk dump*) is a low-level data streaming tool, upon which `gddrescue` is based. Yesterday, when working at the computer while tired, I accidentally mistyped the output drive file when I wanted to restore a damaged MicroSD card (`/dev/sdo`) file system from an image file. This is the first time this mistake happened to me. Maybe it was bound to. This caused the file system of the flash drive at `/dev/sdp` to be crucified (overwritten by the image file intenfed for `/dev/sdo`). I realized the mistake after around 10 seconds, but the first ~400 MB were already overwritten. Thankfully, parts of the data were backed up. But I now realize how much I took the now lost data for granted. And **thankfully**, the USB 3.0 hub was connected to the computer **through an USB 2.0 cable!** Otherwise, the much higher transfer rates would have demolished **much more data!** Some files still exist, but can only be found using forensic software which scans for file headers. And some fragmented files will need to be puzzled together. But file names, attributes (e.g. dates and times), and directory paths are completely lost.

(post is archived)

[–] [deleted] 1 pt (edited )

Oh that's weird. I don't see that in my linux box. It reuses letters. /shrug

EDIT: testdisk has done incredible things for me at work and home where other software failed. I use it first. Not sure I'll ever need the ones you mentioned.

[–] 1 pt

Thanks much for the recommendation.

And it is open-source too! Awesome!

Be sure and post if you use it and find stuff!