Posted on 2013-03-27 21:32 by Timo Bingmann at Permlink with 0 Comments. Tags: c++ utilities
This post announces the first version of disk-filltest
, a very simple tool to test for bad blocks on a disk by filling it with random data. The function of disk-filltest is simple:
random-########
to the current directory until the disk is full.Posted on 2011-01-31 20:25 by Timo Bingmann at Permlink with 0 Comments. Tags: c++ utilities
This is yet another release entry of digup. This time, however, it is a major release with lots of new improvements and some old fixes:
--modify-window=number
to allow larger deltas in the modification time of files. This is a fixup for checking backups copied onto FAT filesystems, because these store the time stamp with a precision of only 2 seconds. Since this is a common operation, the shortcut -w
/--windows
will set the allowed modification window to 1.--exclude-marker=file
, which makes the recursive file system walk skip all directories (and their sub-directories) containing a special marker file usually called .nobackup
in other programs. This option is persistent and stored in the created digest file, so it must only be specified once and then in all subsequent runs the same directory marker is used to selectively skip over special directories.--restrict=pattern
temporary exclusion flag. If specified, all paths containing the pattern as a substring are temporarily skipped. This allows one to quickly check a specific folder or file structure for modifications. Especially useful in combination with -c
to perform a full digest check on only a subset of the files.For more information and the new version see the digup web page.
Posted on 2010-10-03 16:12 by Timo Bingmann at Permlink with 0 Comments. Tags: c++ utilities
Fixed another severe bug in the digup tool: on the amd64 architecture the tool crashed when writing the digest file, thanks goes to Daniel D. for reporting and fixing this bug.
The bug was caused by the variable arguments lists va_list
used twice in the fprintfcrc()
function. Apparently, on the amd64 platform va_start()
and va_end()
must be called twice even when passed the list to vsprintf()
.
For more information and the new version see the digup web page.
Posted on 2010-08-20 23:05 by Timo Bingmann at Permlink with 0 Comments. Tags: c++ utilities
Fixed a two bugs in the digup tool: added large file support when compiling the program and fixed a string allocation bug.
This new version enables large file support by using long long
variables for size. Furthermore, a string allocation bug was fixed which occured when using -t
and -f
command line parameters.
For more information and the new version see the digup web page.
Posted on 2009-11-10 22:30 by Timo Bingmann at Permlink with 0 Comments. Tags: c++ utilities
Published a small, but very useful console tool to update md5sum or shasum digest files. It will read existing md5sum.txt files and add new files to it without rereading the whole directory tree.
This makes digup very useful to update and verify incremental archives like chronological data storages or music collections, which are nowadays commonly stored and backuped on hard disks. Using a full file digest scan even slowly creeping bad blocks on old hard disks can be detected. By using a crontab entry, this check can be performed unattended and routinely.
For more information, the source code and binaries for various platforms see the digup web page.