Of course, if you are disposing of a hard drive, you can just shred the entire device file like the man page says, or dd pseudorandom values from /dev/urandom to /dev/hda or whatever, and then dump zeros for a couple of times, which would get rid of the journaling problems.CAUTION: Note that shred relies on a very important assumption: that
the filesystem overwrites data in place. This is the traditional way
to do things, but many modern filesystem designs do not satisfy this
assumption. The following are examples of filesystems on which shred
is not effective:
* log-structured or journaled filesystems, such as those supplied with
AIX and Solaris (and JFS, ReiserFS, XFS, Ext3, etc.)
* filesystems that write redundant data and carry on even if some
writes
fail, such as RAID-based filesystems
* filesystems that make snapshots, such as Network Appliance's NFS
server
* filesystems that cache in temporary locations, such as NFS
version 3 clients
* compressed filesystems
In addition, file system backups and remote mirrors may contain copies
of the file that cannot be removed, and that will allow a shredded file
to be recovered later.
By the way, why are you disposing the drive? Why not put it into a computer for use as a second hard drive (unless it's broken of course, then you can't overwrite it and will have to destroy it physically).