<div dir="ltr">Truly, even with modern hard disk drives, I am sure that there's no way that overwriting one time with zeros could be insufficient, not even if the NSA and the Russian FSB (nee KGB) work together to try to recover your overwritten data.<div>
<br></div><div>One possible problem with dd, however, is that it writes BIG chunks, and when it gets to the end of the drive I think it might fail to overwrite the last sectors, if the end of the requested write block doesn't align with the end of the device. I could be wrong about that, though, and it might vary from one system to another.</div>
<div><br></div><div>Dave</div><div><br></div><div><br></div><div class="gmail_extra"><div class="gmail_quote">On Sat, Jul 26, 2014 at 11:50 PM, Alan Porter <span dir="ltr"><<a href="mailto:porter@trilug.org" target="_blank">porter@trilug.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div class=""><br>
> Is there any benefit using /dev/random or /dev/urandom in this scenario?<br>
<br>
</div>Not on a flash drive.<br>
<br>
Perhaps on a magnetic disk drive, since a forensics expert could look at<br>
the magnetic spots on the platter to distinguish a "1 covered up by a 0"<br>
from a "0 covered up by a 0".  This is where the multiple writes are useful.<br>
<br>
If you don't think someone is going to crack open the case and examine<br>
the platters, then "dd if=/dev/zero" should be good enough.<br>
<span class=""><font color="#888888"><br>
Alan<br>
</font></span><div class=""><div class="h5"><br></div></div></blockquote></div></div></div>