Correct me if I'm wrong but I thought shred was worthless for journaling 
filesystems? Also, isn't shred meant for deleting files on a working machine as 
opposed to wiping an entire disk bit for bit?

>From the shred man page:

 CAUTION: Note that shred relies on a very important assumption: that the  file 
 system  overwrites
       data  in  place.  This is the traditional way to do things, but many 
modern file system designs do
       not satisfy this assumption.  The following are examples of file systems 
on  which  shred  is  not
       effective, or is not guaranteed to be effective in all file system modes:

       *  log-structured or journaled file systems, such as those supplied with 
AIX and Solaris (and JFS,
       ReiserFS, XFS, Ext3, etc.)

       * file systems that write redundant data and carry on even if some 
writes fail, such as RAID-based
       file systems

       * file systems that make snapshots, such as Network Appliance's NFS 
server

       * file systems that cache in temporary locations, such as NFS version 3 
clients

       * compressed file systems

I have no experience with DBAN.

~bernie

---- Original message ----
>Date: Mon, 11 Dec 2006 10:07:01 -0500
>From: Dan Lenski <[EMAIL PROTECTED]>  
>Subject: Re: [UM-LINUX] Wiping hard drives  
>To: [email protected]
>
>I would strongly suggest using DBAN (http://dban.sourceforge.net/) or
>Shred
>(http://www.ugcs.caltech.edu/manuals/unix/coreutils-6.6/coreutils_77.html) to 
>wipe your hard disk.  The shred web page gives some info on why it's a good 
>idea to do something more thorough than simply overwrite the disk with zeroes.
>
>Shred is part of GNU coreutils so you probably have it already.  DBAN is
>a boot disk that does basically the same thing.
>
>I've used both and they are a breeze to use... a highly recommended
>precaution!
>
>Dan
>
>On Sun, 2006-12-10 at 20:06 -0500, J. Milgram wrote:
>> For preparing a machine for sale/giveaway, does it suffice to do
>> 
>> dd if=/dev/zero of=/dev/hda1 (2,3,4, etc)
>> 
>> on each of the partitions?
>> 
>> Any better ideas?
>> 
>> Let's assume I'm up against average folks, not NSA (who probably have my
>> credit card info already)
>> 
>> Judah

Reply via email to