mirror of
git://git.sv.gnu.org/coreutils.git
synced 2026-04-10 06:03:31 +02:00
*** empty log message ***
This commit is contained in:
@@ -1,9 +1,11 @@
|
||||
2000-10-28 Jim Meyering <meyering@lucent.com>
|
||||
|
||||
Shred can now determine the size of a block devices (e.g. /dev/fd0)
|
||||
by writing until a write operation fails.
|
||||
* src/shred.c: Include assert.h.
|
||||
(fillrand): Add a parameter, size_max.
|
||||
Add an assertion.
|
||||
Adjust caller.
|
||||
Add an assertion.
|
||||
(dopass): Break out of the `for (;;)' loop if size < offset.
|
||||
That can happen now that dopass is called with SIZE == -1.
|
||||
(do_wipefd): Accept a length of zero only for a regular file.
|
||||
|
||||
Reference in New Issue
Block a user