diff options
| author | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-25 21:07:28 -0400 |
|---|---|---|
| committer | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-25 21:07:28 -0400 |
| commit | 711594636704defae873be1a355a292505585afd (patch) | |
| tree | 59ee13f863830d8beba6cfd02bbe813dd486c26f /static/v10/man8/smash.8 | |
| parent | 3258a063c1f189d7b019e40e525b46bef9b9a7b1 (diff) | |
docs: Added UNIX V10 Manuals
Diffstat (limited to 'static/v10/man8/smash.8')
| -rw-r--r-- | static/v10/man8/smash.8 | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/static/v10/man8/smash.8 b/static/v10/man8/smash.8 new file mode 100644 index 00000000..5f076ad7 --- /dev/null +++ b/static/v10/man8/smash.8 @@ -0,0 +1,43 @@ +.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) |
