DISKCHEC.1
Upload User: jnzhq888
Upload Date: 2007-01-18
Package Size: 51694k
Code Size: 1k
Category:

OS Develop

Development Platform:

WINDOWS

  1. .TH DISKCHECK 1
  2. .SH NAME
  3. diskcheck - check a disk for bad sectors
  4. .SH SYNOPSIS
  5. fBdiskcheck fIdevice fIstart fIcountfR
  6. .br
  7. .de FL
  8. .TP
  9. \fB\$1\fR
  10. \$2
  11. ..
  12. .de EX
  13. .TP 20
  14. \fB\$1\fR
  15. # \$2
  16. ..
  17. .SH EXAMPLES
  18. .EX "diskcheck /dev/at0 0 1200" "Check 1.2 MB diskette"
  19. .EX "diskcheck /dev/at0 100 50" "Check blocks 100 to 149"
  20. .SH DESCRIPTION
  21. .PP
  22. fIDiskcheckfR checks a disk for bad sectors by reading in each sector,
  23. writing a known bit pattern onto it, reading it back in and comparing with
  24. what was written.  This check is then done a second time.  Bad sectors are 
  25. reported.  After each sector is tested, the original sector is restored.
  26. Only use this program on unmounted partitions.
  27. Killing it part way through may result in lost data.
  28. .SH "SEE ALSO"
  29. .BR format (1).