Michael Kintzios:
> There's nothing wrong with dd, but I see no reason to create my own
> script to extend the basic dd functionality.  I would rather use
> shred which does everything I want it to do - if only I can avoid
> the deletion if the device node itself.

Why -u?
>From the man page:

========
Delete FILE(s) if --remove (-u) is specified.  The default is not to
remove  the  files because it is common to operate on device files
like /dev/hda, and those files usually should not be removed.
========

BTW, which is your filesystem? From the man page again:

========
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.)
========

HTH
Sergio



-- 
gentoo-user@gentoo.org mailing list

Reply via email to