Re: bug in shred?

Jim Meyering <[email protected]> Wed, 05 Mar 2003 20:37:19 +0100
Newsgroups gmane.comp.gnu.fileutils.bugs
Message-ID <[email protected]>
Ben Elliston <[email protected]> wrote:
> The man page for shred indicates that -x prevents shred from rounding
> up to the "nearest block size", however without -x, shred fails to
> shred block devices when the device size is not a multiple of the
> block size.  The final write() fails and shred subsequently fails.
>
> Perhaps shred should assume -x when the file to shred is not a regular
> file?

Thanks for the report!
That sounds like a good idea.
Look forward to something like that in the next test release.

The latest (just announced on coreutils-announce[1]) is here:

  ftp://alpha.gnu.org/gnu/coreutils/coreutils-4.5.9.tar.bz2
  (coreutils is the union of fileutils, textutils, and sh-utils)

Jim

[1] http://mail.gnu.org/mailman/listinfo/coreutils-announce