File:  [Research Unix] / researchv10dc / man / man8 / smash.8
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 17:21:34 2018 UTC (8 years, 1 month ago) by root
Branches: belllabs, MAIN
CVS tags: researchv10, HEAD
researchv10 Dan Cross

.TH SMASH 8
.CT 1 sa_nonmortals
.SH NAME
smash \- rewrite bad disk sectors
.SH SYNOPSIS
.B /etc/smash
.I device sector
.SH DESCRIPTION
.I Smash
attempts to read the named (decimal, 512-byte)
.I sector
from the named
.IR device ,
and prints the error status from the read
and the data read,
in octal,
regardless of the error status.
It then prompts
.LR write? ,
to which there are three answers:
.TP
.B y
Write the data back to the sector.
.TP
.B c
Write zeros to the sector.
.TP
anything else
Quit.
.PP
After the sector is written,
it is read again
and the cycle repeats.
.PP
Writing the sector,
even if its contents could be correctly read,
will recompute the error correcting code.
This may make soft ECC errors vanish,
and will recover what can be recovered
(sometimes not much)
from hard ECC errors.
.SH SEE ALSO
.IR rarepl (8)

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.