Commit graph

9 commits

Author SHA1 Message Date
Kurt Jaeger
e4709ac94d sysutils/diskcheckd: 20110729 -> 20150220
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)
2015-03-01 20:08:57 +00:00
Chris Rees
05848572c0 - Some bugfixes:
* 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
2011-08-31 11:40:26 +00:00
FUJISHIMA Satsuki
285c532311 fix for post-GEOM system.
PR:		45911
Submitted by:	Valentin Nechayev <netch@netch.kiev.ua>
2004-10-28 05:18:33 +00:00
Kris Kennaway
409a73f08b Fix build on -current (catch up to #include changes) 2002-10-21 00:34:31 +00:00
David W. Chapman Jr.
615f647290 Change method in do-extract to ${LN} instead of pax
Change BROKEN= warning to state that it hasn't been tested on 4.x or lower
Use programs Makefile to build and add CFLAGS+= for location of config file
Modify default install location in files/Makefile
Change default location of config file to match default ports config file in diskcheckd.c
Bump PORTREVISION
2001-08-28 16:52:45 +00:00
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