adapt to missing DIOCGDINFO on 11-current and fix some printf warnings
PR: 197841
Submitted by: Perry Hutchison <perryh_bsd_bugs@pluto.rain.com> (maintainer)
* Calculate delays in microseconds, so that delays of less than
one second between reads (needed to implement rates exceeding
64KB/sec) do not get rounded down to zero.
* Fix a reinitialization problem when handling SIGHUP.
* Additional debug messages (only with -d).
* Comment and manpage improvememts
- Pass maintainership to submitter
PR: ports/115853 ports/143566
Submitted by: perryh@pluto.rain.com
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