bascredits.blogg.se

How to securely erase mac
How to securely erase mac








how to securely erase mac
  1. How to securely erase mac how to#
  2. How to securely erase mac plus#

How to securely erase mac plus#

O 4 - Three-pass erase, consisting of two random fills plus a final zero fill. O 2 - Seven-pass erase, consisting of zero fills and all-ones fills plus a final random fill. Ownership of the affected disk is required. If you need to erase all contents of a partition but not its hosting whole-disk, use the zeroDisk or randomDisk verbs. Erasing freespace on a volume will leave your files intact, indeed, from an end-user perspective, it will appear unchanged, with the exception that it will have attempted to make it impossible to recover deleted files. Secure erasing makes it harder to recover data using "file recovery" software.Įrasing a whole-disk will leave it useless until it is partitioned again.

How to securely erase mac how to#

Within the man pages, you’ll find the explanation for how to securely erase a disk’s free space using diskutil: secureErase level deviceĮrase, using a "secure" (but see the NOTE below) method, either a whole-disk (including all of its partitions if partitioned), or, only the free space (not in use for files) on a currently-mounted volume. To find out about diskutil in detail, type man diskutil at the Terminal prompt. Proceed with caution, and make sure your backups are current before you try any of the following.) (Please note that, as with many Terminal commands, there’s a chance of Really Bad Things happening if you make a mistake with the following instructions.

how to securely erase mac how to securely erase mac

What if you want to do this from Terminal instead? In Terminal, a program named diskutil provides most of the features of macOS’s Disk Utility.










How to securely erase mac