Submitted by unlikemike123 t3_z6wvdf in explainlikeimfive
yoshhash t1_iy4a8jw wrote
Reply to comment by boersc in eli5 How is computer memory deleted? by unlikemike123
Isn't that the same thing as over writing with the same file name?
boersc t1_iy4apc9 wrote
Not perse. In that case you're erasing/reusing the ledger entry, but the 'new' file may get written on a wholly different location depending on how the OS works. But yes, it CAN work the same, if the new file overwrites the exact same spot as the old file. Most OSses work that way.
bob0979 t1_iy4blr4 wrote
Many drive cleaner tools will have a tool to wipe free space. They write over every bit that is not occupied with 'undeleted' data or stuff you're using. They replace everything not in use with new junk data that could just be 00000001 for every bit. This takes a fair bit of time but doing this a couple of times can remove any trace of what a specific bit says or even used to say.
If you save somethinn as 'file.name' and it's contents are 00000111 then delete it, it stays as 00000111, but if you delete it then wipe free space it changes that 00000111 to something useless.
Grezzo82 t1_iy5aoeu wrote
“A couple” is sometimes not enough, but a few more is considered secure enough for most contexts, though gov will often physically shred the disks to be sure.
I only know for sure with macOS, but I image isn’t this applies to all: the OS has a built in secure erase feature that will overwrite a whole disk enough times to be confident that the data is irrecoverable
Any-Broccoli-3911 t1_iy4fv5b wrote
No, even if it's the same filename, there's no guarantee that it will be at the same place. Also, if your new file is smaller, for example an empty file, it can only overwrite a tiny part of it if ever it's at the same place.
Viewing a single comment thread. View all comments