Damus
Sergio Gil profile picture
Sergio Gil
@Sergio Gil
Hi #linux people, fun and non hypothetical question: I want to completely wipe my work laptop before returning it. What would be a simple and effective way? Would `dd if=/dev/zero of=/dev/whatever` work, or would the collapse of the world under its feet make it stop before finishing?
2
Orange Julius · 1w
$ shred /dev/foo Or $ hdparm --user-master u --security-erase PASS /dev/foo (Might need sleep cycle to unlock) If nvme drive $ nvme format /dev/nvme0n1 (check which drive)
Orange Julius · 1w
DD is sequential and definitely not secure on spinning disks