diff options
| author | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-26 16:38:00 -0400 |
|---|---|---|
| committer | Jacob McDonnell <jacob@jacobmcdonnell.com> | 2026-04-26 16:38:00 -0400 |
| commit | 97d5c458cfa039d857301e1ca7d5af3beb37131d (patch) | |
| tree | b460cd850d0537eb71806ba30358840377b27688 /static/unix-v10/man8/smash.8 | |
| parent | b89dc2331a50c63f8b33272a5c4c61ab98abdaa3 (diff) | |
build: Better Build System
Diffstat (limited to 'static/unix-v10/man8/smash.8')
| -rw-r--r-- | static/unix-v10/man8/smash.8 | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/static/unix-v10/man8/smash.8 b/static/unix-v10/man8/smash.8 new file mode 100644 index 00000000..5f076ad7 --- /dev/null +++ b/static/unix-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) |
