Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ scsiblk(1m) — Atari System V 1.1-06

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

format(1M)

partinit(1M)

hd(7)





   scsiblk(1M)                                                     scsiblk(1M)


   NAME
         scsiblk - map out bad blocks on a SCSI disk

   SYNOPSIS
         scsiblk -o devicename [-s blocklist] [-r]

   DESCRIPTION
         scsiblk can be used to issue commands to the disk driver to re-assign
         bad blocks on a disk.

         -o devicename
               The program uses the devicename on which to issue the re-assign
               requests. This must be the whole disk device.

         -s blocklist
               Requests specific block numbers to be re-assigned. A blocklist
               is either a single +, in which case the program reads standard
               input to obtains block numbers, one per line, or a sequence of
               digits separated by non-digit characters.

         -r    Report only. Do not issue re-assign requests. This option
               cannot be given with the -s option.

         If the -s option is not given then the program searches the whole of
         the disk, reading each block. When it finds a bad block, it either
         prints out its block number, or issue the command to re-assign it.

         All block numbers are specified in decimal and are in physical units.

   EXAMPLES
               scsiblk -o /dev/rdsk/c0d0sf

         will attempt to bad block disk 0.

               scsiblk -o /dev/rdsk/c0d0 -r

         will report on all the bad blocks on disk 0.

               scsiblk -o /dev/rdsk/c0d0 -s "1234 23999"

         will attempt to re-assign blocks 1234 and 23999 on disk 0.

   WARNINGS
         Be careful to quote spaces if using them to separate block numbers on
         the command line. The data on a re-assigned block will be lost, this
         may destroy data and thus any filesystem on the disk.

   SEE ALSO
         format(1M), partinit(1M), hd(7).




   10/91                                                                Page 1





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