Commit graph

4 commits

Author SHA1 Message Date
Brian Somers
222cd6b5dd Handle snprintf() returning < 0 (not just -1)
MFC after:	2 weeks
2001-08-20 15:09:33 +00:00
Brian Somers
d390477901 Handle snprintf() returning -1.
MFC after:	2 weeks
2001-08-20 13:24:38 +00:00
Ben Smithurst
3343795784 * Read 64k at a time with variable length pauses between instead of
reading variable sized blocks of data every second.  This should be
  more efficient.

Suggested & tested by:	se

* Add a syntax for excluding CD-ROM drives etc.

Suggested by: des, se, many others...

Manual page updates coming soon.
2001-07-04 17:43:43 +00:00
Poul-Henning Kamp
81e7224513 Add diskcheck-daemon.
With a small disk being 20GB these days, chances are pretty good that
an ailing sector will not be read while still being recoverable by
the drive.

Diskcheck daemon will read disks in the background at a low rate and
that way give the diskdrive a chance to detect and correct soft read
errors before they become hard errors.

Idea by:	phk
Written by:     ben
2001-06-03 20:02:03 +00:00