Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ badblk(1M) — A/UX 2.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

dp(1M)

altblk(4)




badblk(1M) badblk(1M)
NAME badblk - set or update bad block information SYNOPSIS badblk [-r] /dev/rdsk/c?d?s? [blkno...] DESCRIPTION badblk sets or updates bad block information for disk parti- tions. badblk first attempts to alter a bad block by hardware sparing. In the event that hardware sparing fails and the device supports alternate bad blocking, badblk will attempt to alternate block the bad block. Hardware sparing may fail if the device does not support hardware sparing or if the device's capacity for hardware sparing has been ex- ceeded. If you invoke badblk without specifying block numbers, it will search the whole device for bad blocks and print the block numbers of any that are found. FLAG OPTIONS -r When this option is specified, badblk will not attempt to block any bad blocks, but instead will report those that are found. blkno One or more block numbers separated by blanks. EXAMPLES badblk /dev/rdsk/c0d0s31 does a full read-verify on the whole disk associated with controller zero, drive zero. Note that the raw device must be specified. badblk /dev/rdsk/c0d0s0 does a full read-verify on partition zero (usually the root partition) of the disk associated with controller zero, drive zero. NOTES badblk uses very simple tests to determine whether or not a block is bad. The alternate block map information can be accessed and modified through the dp(1M) utility. The badblk command does not work on floppy disks. April, 1990 1



badblk(1M) badblk(1M)
FILES /usr/bin/badblk SEE ALSO dp(1M), altblk(4). 2 April, 1990

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026