<div dir="ltr"><br><br><div class="gmail_quote">On Sun, Sep 28, 2008 at 11:58 AM, Leo Mauler <span dir="ltr">&lt;<a href="mailto:webgiant@yahoo.com">webgiant@yahoo.com</a>&gt;</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="Ih2E3d">--</div><br>
Reformatting a ReiserFS filesystem can sometimes result in data files from the previous contents reappearing on the now allegedly-wiped hard drive, a detail which folks interested in tax breaks for donating old machines, while simultaneously protecting their corporate secrets, would be dismayed to learn.<br>

</blockquote></div><br>Anyone who thinks that &quot;reformatting a filesystem&quot; is the same thing as &quot;wiping a hard drive&quot; doesn&#39;t understand the meanings of the words &quot;reformatting&quot;, &quot;wiping&quot;, or &quot;filesystem&#39; for that matter.<br>
<br>You can reformat an ext*, FAT or NTFS filesystem, but if you think you&#39;ve &quot;wiped&quot; the filesystem, much less the drive, you are wrong beyond description.&nbsp; I can understand a non-technical user not understanding the distinction between &quot;reformatting&#39; and &quot;wiping&quot;, but anyone working for a corporate IT department who can&#39;t tell them apart should be fired for incompetence.<br>
<br>If I&#39;m asked to &quot;wipe&quot; someone&#39;s drive, I&#39;ll boot to a live CD or USB drive, get to a root prompt, and do something like<br><br>export pass=1<br>while [ $pass -lt 6 ]<br>&nbsp;do<br>&nbsp; printf &#39;\nDrive Wipe Pass #%d&#39; $pass<br>
&nbsp; dd if=/dev/random of=/dev/hda<br>&nbsp; printf &#39; . &#39;<br>&nbsp; dd if=/dev/zero of=/dev/hda<br>&nbsp; printf &#39; . &#39;<br>&nbsp;pass=`expr $pass + 1`<br>done; printf &#39;\nDONE.&nbsp; You may now turn off the computer&#39;<br><br>This is not a theoretical exercise for me.&nbsp; I had a customer who was retiring, and wanted to be sure all data was removed from the server before it was delivered to the buyer.&nbsp; Since it was SCO OpenServer, instead of /dev/random, I used an outer loop of 3 passes with an inner loop that used /dev/byte/55, /dev/byte/ff, /dev/byte/aa, and /dev/byte/00 (after first creating the device nodes for 55 and aa), so that the entire HD was written to a dozen times, with the different patterns.&nbsp; At that point, I figured that there were maybe some guys at Langley (and their Russian and Chinese counterparts) who would have even a chance of recovering data from that drive.<br>
<br>I never referred to that operation as &quot;(re)formatting&quot;.<br><br></div>