CKDISK

Section: Linux System Manager's Manual (8)
Updated: 2005-07-22
Index Return to Main Contents
 

NAME

ckdisk - check drive by writing and reading special patterns  

SYNOPSIS

ckdisk [-hvwV] [-s size] device

 

DESCRIPTION

Ckdisk checks a disk drive device for addressing problems by writing a special pattern to it and verifying the data afterwards. In contrast to badblocks, ckdisk uses a single pattern block of size ascending bytes starting with zero.

 

OPTIONS

-h
display some helpful information on stdout and exit successfully
-s size
set blocksize to size bytes (default is 801)
-v
raise verbosity level on stderr by one (maximum 1)
-V
display version and compilation info on stdout and exit successfully
-w
write to device (default is read/verify)

 

RETURN VALUE

On success, 0 is returned. On error, a value >0 is returned.

 

ERRORS

1
program terminated due to signal SIGINT
2
not enough memory available
3
verification was unsuccessful
4
a program bug has seen the light
5
the error is different from those explained above

 

AUTHOR

Steffen Solyga <solyga@absinth.net>

 

SEE ALSO

badblocks(8)


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
RETURN VALUE
ERRORS
AUTHOR
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 13:08:37 GMT, July 30, 2010