Re: slightly OT: dban

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Friday 27 August 2010, Kevin Thorpe wrote:
>   On 27/08/2010 15:19, m.roth@xxxxxxxxx wrote:
> > I'm trying to nuke a Dell Optiplex GX620. I've got a perfectly good dban
> > 1.0.4 that I've used a bunch of times... but on this machine, it says
> > starting, then dies, saying "dban has finished with non-fatal errors.
> > Check the log for more information" It never gets to the interactive
> > menu.
> >
> > Now that I've disabled the non-existant floppy drive, at least it does
> > say "to save the log file again, press enter"....
>
> I usually use dban but if it's not handy use a liveCD (me usually
> Ubuntu) and use dd:
>
> Assuming the drive to kill is /dev/sda:
> dd if=/dev/random of=/dev/sda

This command will take forever and ever and ever (reads against /dev/random 
blocks as the kernel runs out of entropy). /dev/urandom would be better but 
still not very fast.

To get some speed you'd have to do something like:
 1) save a megabyte of /dev/urandom in a file
 2) while true ; do dd file to dev ; done

Or run some dban-like program instead of dd.

/Peter

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux