bug in shred?

Ben Elliston <[email protected]> Wed, 5 Mar 2003 20:51:38 +1100
Newsgroups gmane.comp.gnu.fileutils.bugs
Message-ID <[email protected]>
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?

Ben