bug-fileutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug in shred?


From: Ben Elliston
Subject: bug in shred?
Date: Wed, 5 Mar 2003 20:51:38 +1100
User-agent: Mutt/1.2.5.1i

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]