how to securely delete a file from ufs device in linux

0

Assuming I have some files stored on a ufs storage chip and I mounted it on linux. Is there any possible way to securely delete these file?

S. Ezreal

Posted 2019-04-18T11:52:25.970

Reputation: 13

@mtak Be aware that your link comment will wipe whole drive but thanks to Over-provisioning and Wear leveling the data can still be on disk hardly to detect but still there. – Aroly7 – 2019-04-18T12:11:43.370

no, that's just for ssd and usb device and they can be erased offline. But for me actually I want to do it online, which means there is still an operating system running on it while doing the erasing. Obviously you can't rewrite the whole device with random number. Sorry :-( – S. Ezreal – 2019-04-19T01:59:57.373

Answers

0

Not really. The way how lot flash memory (and ssd) works is that they try to redirect writes to be equal over whole device so overwriting don't really overwrite the same blocks.

EDIT REF REF2

Aroly7

Posted 2019-04-18T11:52:25.970

Reputation: 328