Pádraig Brady
b85eb8d683
shred: overwrite inode storage used by some file systems
...
* doc/coreutils.texi (shred invocation): Mention some reasons
why clearing slack space might be useful.
* src/shred.c (do_wipefd): Add initial writes for each pass
for small regular files in case the storage for those is
in the inode, and thus a larger write up to a block size would
bypass that. Move the direct I/O control to...
(dopass): ... here so we can avoid enabling it for these small
initial writes. It's better to retry direct I/O for each pass
anyway to handle the case where direct I/O is disabled for only
the last portion of a file when the size is not a multiple of
the block size. Note we don't avoid the sync for the initial
write as it will be small but more importantly could be on a
different part of the disk and so worth doing independently
to ensure the write is not discarded.
* tests/misc/shred-exact.sh: Check some more direct I/O cases.
* NEWS: Mention the improvements.
The inode storage issue was mentioned by Paul Eggert.
2014-04-05 01:56:07 +01:00
..
2013-02-04 23:40:32 +00:00
2014-01-02 22:19:59 +01:00
2014-03-26 11:26:58 +01:00
2009-08-25 09:21:00 +02:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-03-19 02:33:44 +00:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-03-19 02:41:24 +00:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-04-03 09:48:52 -07:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2008-11-20 10:21:52 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-03-03 16:39:18 +00:00
2014-01-02 22:19:59 +01:00
2014-02-09 20:07:41 +00:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2005-07-18 07:52:37 +00:00
2011-07-15 10:55:04 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-04-02 07:45:58 -07:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-17 16:13:18 +00:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2003-07-06 06:08:40 +00:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-03-13 20:05:10 -07:00
2014-03-18 16:12:48 -07:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-17 16:13:18 +00:00
2012-01-09 21:51:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-17 16:13:18 +00:00
2014-01-17 16:13:18 +00:00
2014-01-17 16:13:18 +00:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-02-09 11:29:24 +00:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-03-26 11:29:53 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-13 23:11:37 +00:00
2014-01-02 22:20:08 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-04-05 01:56:07 +01:00
2014-02-26 11:26:24 +00:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-03-24 09:10:20 +00:00
2014-03-18 16:12:48 -07:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-03-03 16:39:18 +00:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-02-09 21:37:24 +00:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2007-07-10 19:00:00 +02:00
2007-07-10 19:00:00 +02:00
2014-01-02 22:19:59 +01:00
2012-01-09 21:51:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00
2014-01-02 22:19:59 +01:00