
Format the drive as usual using Disk Utility (APFS (Encrypted) if.See the diskutil man page (not available in Recovery mode)įor more options, but all other options take an inordinate amount of time for Level 0 = overwrite with 0s, which takes around two hours for a 1TB SSD on aĢ012 MacBook Air.To erase free space enter diskutil secureErase freespace 0 volumemountpoint, where volumemountpoint is the mount point noted above,Į.g.: diskutil secureErase freespace 0 /Volumes/Ardbeg.Use diskutil list to list available volumes, and note the mount point of.In Recovery mode, go to Utilities > Terminal.If you nevertheless want to erase free space: Unless you are setting up a hardened machine where an attacker may have physicalĪccess, it’s probably safe to skip this step.



Even then, though, because of the wayĭata are written to SSDs, the original data will quickly become unreadable so However, if reusing a drive that was previously used unencrypted, it mayīe useful to overwrite the free space. The free space on the disk as any data written there will have been encryptedĪnyway. For a drive that has previously been encrypted, it is not necessary to overwrite
