<div dir="ltr"><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Todd thanks. I am filing this away for my own use later.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Dec 14, 2014 at 11:26 AM, Todd Millecam <span dir="ltr"><<a href="mailto:tyggna@gmail.com" target="_blank">tyggna@gmail.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Oh, if it's SSD drives, don't do it this way, this is solely for plattered drives. If you are using an SSD, then you just need to issue a secure command to the drive and tell it to wipe itself--which you can do through hdparm:<br><br><pre>$~ hdparm --user-master u --security-set-pass PasSWorD /dev/sda #sets up security on the drive<br></pre><pre>$~ hdparm --user-master u --security-erase PasSWorD /dev/sda # the point of no return delete everything on your SSD drive command</pre><br></div><div class="gmail_extra"><div><div class="h5"><br><div class="gmail_quote">On Sun, Dec 14, 2014 at 11:00 AM, Todd Millecam <span dir="ltr"><<a href="mailto:tyggna@gmail.com" target="_blank">tyggna@gmail.com</a>></span> wrote:<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div>There's a lot of ways to do it, but they all do the same thing.<br>In bash:<br>$~ shred -zn10 /dev/sda<br><br></div>That'll securely erase everything on block device /dev/sda--give it a while to run as it's writing random numbers across the entire drive and then finishing by writing nothing but 0s on it. This makes all data on the device non-recoverable.<br><br></div>You need to overwrite the data anywhere from 4 - 15 times before it's clean and nothing can be recovered from it. <br><br></div>That's essentially all dban/wipe is doing. If you want to get even more primitive, then you can use dd (garunteed to be on all *nix systems) <br>$~ dd if=/dev/random of=/dev/sda && dd if=/dev/zero of=/dev/sda<br><br></div>That's the same as doing one pass, but if shred is there (and it usually is) then it'll do all 10 passes for you. I guess you could just throw that dd command in a simple loop:<br></div>$~ for i in `seq 10` ; do dd if=/dev/random of=/dev/sda && dd if=/dev/zero of=/dev/sda ; done<br><br><br></div><div>Dban or wipe will do all this for you, but you can do it yourself.<br></div><div>(Note, don't do it on the currently-running OS drive, because it'll eventually erase glibc.so being used to do the overwrite. If you want to do it on multiple drives, just plug them all into the same computer, and run shred on all of them from a live-cd of your chosing)<br></div><br><div><div><div><br></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Sun, Dec 14, 2014 at 10:27 AM, Stephen M <span dir="ltr"><<a href="mailto:smelheim85@gmail.com" target="_blank">smelheim85@gmail.com</a>></span> wrote:</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><div><div>HI,<br><br>I have a couple drives that I want to wipe and give them to the Loco group. I have never done a wipe on my own computer. I want to see whats the best method. I know there is dban, wipe, and many other solutions. I will be using a SATA to USB adapter so I don't have to open my computers<br><br></div>What I need to know is there a way to use that device and still work on my computer. Or do I have to let my computer run dban or whatever to wipe the drive.<br><br></div>Thanks all.<span><font color="#888888"><br clear="all"><div><div><div><br>-- <br><div>Stephen Melheim <br><a href="tel:602-400-7707" value="+16024007707" target="_blank">602-400-7707</a><br><a href="mailto:SMelheim85@gmail.com" target="_blank">SMelheim85@gmail.com</a></div>
</div></div></div></font></span></div>
<br></div></div>---------------------------------------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org" target="_blank">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><span><font color="#888888"><br></font></span></blockquote></div><span><font color="#888888"><br clear="all"><br>-- <br><div>Todd Millecam</div>
</font></span></div>
</blockquote></div><br clear="all"><br></div></div><span class="HOEnZb"><font color="#888888">-- <br><div>Todd Millecam</div>
</font></span></div>
<br>---------------------------------------------------<br>
PLUG-discuss mailing list - <a href="mailto:PLUG-discuss@lists.phxlinux.org">PLUG-discuss@lists.phxlinux.org</a><br>
To subscribe, unsubscribe, or to change your mail settings:<br>
<a href="http://lists.phxlinux.org/mailman/listinfo/plug-discuss" target="_blank">http://lists.phxlinux.org/mailman/listinfo/plug-discuss</a><br></blockquote></div><br clear="all"><div><br></div>-- <br><div class="gmail_signature">A mouse trap, placed on top of your alarm clock, will prevent you from rolling over and going back to sleep after you hit the snooze button.<br><br>Stephen<br><br></div>
</div>