Commit Graph

12 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
Ruslan Ermilov
f365b3aba4 s/should must/must/ plus markup nit. 2001-08-07 13:50:36 +00:00
David E. O'Brien
aff9c67b1f Perform a major cleanup of the usr.sbin Makefiles.
These are not perfectly in agreement with each other style-wise, but they
are orders of orders of magnitude more consistent style-wise than before.
2001-07-20 06:20:32 +00:00
David E. O'Brien
8ef2aeebc1 Remove GCC'isms in CFLAGS. 2001-07-20 04:23:01 +00:00
Ben Smithurst
27e7821094 Document the two recent changes to diskcheckd's behaviour and configuration
syntax.
2001-07-18 22:29:54 +00:00
Ben Smithurst
2a23ca4ae8 Add older CD types, matcd, mcd, scd.
Submitted by:	imp
2001-07-04 18:33:01 +00:00
Ben Smithurst
3b9facb34e Exclude acd*, cd*, and md* from being checked by default. 2001-07-04 17:47:23 +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
Ben Smithurst
1acf2a18ce remove -g -O0, that was only for debugging... 2001-06-23 19:24:18 +00:00
Ruslan Ermilov
bdc8739080 mdoc(7) police: minor markup cleanup. 2001-06-04 13:21:46 +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