Clearing the unallocated disk space

Roger Heflin rogerheflin at
Sun Nov 16 19:30:47 UTC 2014

Depending on who makes the drive, the manufacturer's diag tool will
generally have something that will secure erase all of the drive
assuming the drive is still working enough.

I know last time I used the seagate diag tool it on the menu.

On Sun, Nov 16, 2014 at 1:17 PM, jd1008 <jd1008 at> wrote:
> On 11/16/2014 12:09 PM, Tom Horsley wrote:
>> On Sun, 16 Nov 2014 12:04:31 -0700
>> jd1008 wrote:
>>> Before sending the drive for warranty service, what is the best way to
>>> clean the unallocated blocks?
>> A way is to run as root "cp /dev/zero tempfile" for one "tempfile" per
>> partition
>> until the cp fails due to running out of disk space. That will allocate
>> all
>> free space and write zeroes to it.
> I had read somewhere that THAT is not enough.
> I recall that in fc12 there was a util that would scavenge all
> free space (albeit, in manageable chunks at a time), then
> clean them using several different method.
> I am unable to recall that util's name :(
> --
> users mailing list
> users at
> To unsubscribe or change subscription options:
> Fedora Code of Conduct:
> Guidelines:
> Have a question? Ask away:

More information about the users mailing list