4 ms·
Wipefs simply cleans up your filesystem signatures, not your data.
by necovek 4mo ago
Wipefs simply cleans up your filesystem signatures, not your data.
- TZubiri 4mo ago>doesn't wipe your data Neither does rm, doesn't mean it's not destructive. Especially in the case of disk recovery, where there's already missing file metadata. Destroying even more file metadata can make the data harder or impossible to recover. I think there's a midwit meme application here: low IQ: Don't to use anything with the word wipe in it mid IQ says "technically it isn't a delete and it depends on the options that you give it, by default blabla...." High IQ: Don't use anything with the word wipe in it if you don't want to wipe data.
- necovek 4mo agoIn this case, the original superblock seems already destroyed, and it sounds it gets the fs autodetection confused, so the suggestion is to use one of backup superblocks but clean up the messed data first.
- TZubiri 4mo agoI ended up mounting the device as ro. If one wants to recover data from a corrupted device, one should never write anything to it. Any recovery needs to be copied to another device, one should only write a single bit, when one is prepared to zero out all of the others.