Site TIPS PAGE🔎 SEARCH  Ξ INDEX  MAIN MENU  UP ONE LEVEL
 OJB's Web Site. Version 2.1. Mac Tip.You are here: tip tips mac owen2 
Tip

Up to OJB's Mac Tips List

Secure Erase from El Capitan

The secure erase free space feature has been removed form Disk Utility in El Capitan (10.11) and later because it isn't useful for SSDs. It can still be accessed from the command line, like this...

diskutil secureErase freespace

Where "level" is a number from 0­ to 4 indicating the type of erasing to do...
0 – Single­ pass zero­fill erase.
1 – Single­ pass random­fill erase.
2 – US DoD 7­pass secure erase.
3 – Gutmann algorithm 35­ pass secure erase.
4 – US DoE algorithm 3­ pass secure erase.

And "drivename" is the path to the drive, like /Volumes/Macintosh\ HD. Note the escaping of the space in the drive name above. You can see the mounted disks using the distil list command.

IMPORTANT: don't forget the "freespace" option to make sure the whole disk isn't erased!



I usually write a blog post about once a week. The latest post can be viewed here: Stop the Tribalism: They really need to stop the tribalism. (posted 2024-06-26 at 19:56:52). I do podcasts too!. You can listen to my latest podcast, here: OJB's Podcast 2024-04-30 The Fall of Rome: I'm afraid that we really might be seeing the demise of the greatest era in history..
 Site ©2024 by OJBOJB's BlogMicrosoft Free ZoneMade & Served on Mac 
Site Features: Blog RSS Feeds Podcasts Feedback Log07 Jun 2024. Hits: 104,529,456
Description: Mac TipKeywords: Macintosh,Computers,Fixing Problems,TipsLoad Timer: 40ms