That seems like a good way to eradicate deleted files and keep unused space as pure garbage. Assuming a drive hasn't reallocated a failing sector prior to the random overwrite, things are good. I've not seen anything (yet) that will allow selective overwrite of reallocated sectors with defined data (random) that doesn't also destroy the entire drive contents. I suspect any tool to do this will have to come from the drive makers themselves due to the nature of this low level detail.<br>
<br><div class="gmail_quote">On Fri, Apr 16, 2010 at 10:58 AM, Chris Fowler <span dir="ltr"><<a href="mailto:cfowler@outpostsentinel.com">cfowler@outpostsentinel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">On Fri, 2010-04-16 at 10:07 -0400, <a href="mailto:krwatson@cc.gatech.edu">krwatson@cc.gatech.edu</a> wrote:<br>
<br>
> Darik's Boot and Nuke ("DBAN")<br>
> <a href="http://www.dban.org/" target="_blank">http://www.dban.org/</a><br>
><br>
> DBAN will not wipe sectors that have been reallocated however, Secure Erase will. This only works on IDE and SATA dirves.<br>
> <a href="http://cmrr.ucsd.edu/people/Hughes/SecureErase.shtml" target="_blank">http://cmrr.ucsd.edu/people/Hughes/SecureErase.shtml</a><br>
<br>
</div>now this brings up an good topic for this list.<br>
<br>
Here is how I've done it in the past from bash<br>
<br>
<br>
rm stuff_to_delete<br>
dd if=/dev/urandom of=/tmp/file;rm /tmp/file<br>
dd if=/dev/urandom of=/tmp/file;rm /tmp/file<br>
dd if=/dev/urandom of=/tmp/file;rm /tmp/file<br>
<br>
Now the idea is that we first delete the stuff then we fill up disk with<br>
random crap. dd will error when we've ran out of space and rm will<br>
remove the file. We do this 3 times.<br>
<br>
Not sure if this is good idea or not?<br>
<br>
I've got a cronjob on my desktop that creates a 4G file of urandom every<br>
night around 1AM and then deletes it. Anything I've deleted during the<br>
day should be blown away at night.<br>
<div><div></div><div class="h5"><br>
<br>
<br>
<br>
_______________________________________________<br>
Ale mailing list<br>
<a href="mailto:Ale@ale.org">Ale@ale.org</a><br>
<a href="http://mail.ale.org/mailman/listinfo/ale" target="_blank">http://mail.ale.org/mailman/listinfo/ale</a><br>
See JOBS, ANNOUNCE and SCHOOLS lists at<br>
<a href="http://mail.ale.org/mailman/listinfo" target="_blank">http://mail.ale.org/mailman/listinfo</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>-- <br>James P. Kinney III<br>Actively in pursuit of Life, Liberty and Happiness <br><br>