chiark / gitweb /
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Ian Jackson [Thu, 21 Feb 2013 15:46:00 +0000 (15:46 +0000)]
Make --both the default
This does away with the NONE mode and the corresponding usage error.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Thu, 21 Feb 2013 15:44:49 +0000 (15:44 +0000)]
New mode --both (-b), which does create then verify
This implies --entire unless a size is specified.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Thu, 21 Feb 2013 16:46:23 +0000 (16:46 +0000)]
New --entire option
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Ian Jackson [Thu, 21 Feb 2013 15:41:51 +0000 (15:41 +0000)]
Break out function "execute"
Code motion and incidental changes:
- Make the 2nd half of main into its own function
- Make most of the arg variables have file scope and static duration
No functional change.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
Richard Kettlewell [Fri, 17 Jun 2011 19:54:19 +0000 (20:54 +0100)]
Make SIZE argument optional when verifying. It is inferred from the
file to be verified. This is harmless when verifying storage media
but should be avoided if the filesystem implementation is under
suspicion.
Richard Kettlewell [Fri, 17 Jun 2011 19:51:39 +0000 (20:51 +0100)]
Remove redundant exit() calls.
Richard Kettlewell [Fri, 17 Jun 2011 19:49:50 +0000 (20:49 +0100)]
Rearrange argc/argv for more idiomatic access to positional arguments.
Richard Kettlewell [Wed, 15 Jun 2011 21:51:59 +0000 (22:51 +0100)]
Expand on purpose a little.
Richard Kettlewell [Wed, 15 Jun 2011 21:50:13 +0000 (22:50 +0100)]
Copyright notices
Richard Kettlewell [Wed, 15 Jun 2011 21:47:43 +0000 (22:47 +0100)]
.gitignore backup files
Richard Kettlewell [Wed, 15 Jun 2011 21:44:50 +0000 (22:44 +0100)]
MacOS support.
Uses purge to implement --flush.
Richard Kettlewell [Wed, 15 Jun 2011 21:23:28 +0000 (22:23 +0100)]
Document short-form options.
Richard Kettlewell [Wed, 15 Jun 2011 21:21:43 +0000 (22:21 +0100)]
More sensible type choices. Making remain be size_t would limit to 4G
on a 32-bit system!
Richard Kettlewell [Wed, 15 Jun 2011 21:19:33 +0000 (22:19 +0100)]
Add --flush option to evict the subject file from RAM, i.e. so you are
really testing the storage device rather than the OS's cache.
As implemented will only work on Linux, and requires superuser
privilege.
Richard Kettlewell [Mon, 13 Jun 2011 19:01:39 +0000 (20:01 +0100)]
List options in --help output
Richard Kettlewell [Mon, 13 Jun 2011 19:00:07 +0000 (20:00 +0100)]
Add a README and man page
Richard Kettlewell [Mon, 13 Jun 2011 18:34:47 +0000 (19:34 +0100)]
vbig - create or verify a large but pseudo-random file