2

I know I can use Disk Utility to secure erase a disk.

My question is: I have a disk half empty. I would like to know if there's a way to secure erase the empty part of the disk. I mean, an app/command that can identify those empty sectors of the disk and give them a secure erase treatment.

thanks.

2

If you are referring to a partition, then you can also do it with Disk Utility: First, select the partition on the list on the left, go to the "Erase" tab on the right and use "Erase Free Space ...". On the dialog that shows now you can choose the level of security (i.e., how many times the data should be overwritten) and then click "Erase Free Space".

If you are talking about space on a disk with no active partition then I think you need to create a partition first that you can then erase.

1
  • Can also be done from the terminal via diskutil secureErase freespace level device. See man diskutil for what the parameters mean. - Unformatted disks can be overwritten with random data with diskutil randomDisk [times] device or zeroes with diskutil zeroDisk device or just use good old dd. – MacLemon Sep 29 '12 at 18:42

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .