[GRLUG] Disk scrubber

Tim Schmidt timschmidt at gmail.com
Mon Jul 24 16:30:57 EDT 2006


On 7/24/06, Michael Mol <mikemol at gmail.com> wrote:
> dd, multiple passes, if I want to keep the drive.  .223, if I don't.
>
> shred's nice, but slow.  On modern drives, the following works just as
> well for me:
>
> dd if=/dev/zero of=/dev/hdfoo
> dd if=/dev/random of=/hdfoo
> dd if=/dev/zero of=/dev/hdfoo

Shred's slower because it does quite a bit more to hide / destroy data.

> I still use shred, but only on individual files.  I use ext3, so I
> have to get around the journal:
>
> chattr +S foo.odt
> shred -fu foo.odt

Shred works correctly on ext3 partitions mounted with default options.
 No 'getting around the journal' nescessary.

--tim


More information about the grlug mailing list