Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ xformtrk(1M) — Motorola System V 88k Release 4 Version 4.3

Media Vault

Software Library

Restoration Projects

Artifacts Sought

xformtrk(1M)  —  ADMINISTRATOR COMMANDS

NAME

xformtrk − convert bad track list from one format to another

SYNOPSIS

xformtrk -I opt -O opt [-t file] [-d ddefsdir] devtype

DESCRIPTION

xformtrk converts the input data, in any of the four input formats (bad blocks; track; head,cylinder pairs; logical-device,block pairs) to a file containing values in either track or head,cylinder format.  All input entries must be in the same format and, for any format, must be one number or pair per line.  For example:

bad blocks: tracks: head,cyl pair: logical-dev,block offset pair:
23348 1501  4 1234 11 1234
207608 2345 6 9182 73 5678

The output from xformtrk is displayed on stdout. 

The options are:

−I opt Specify the input as either t for track; b for bad blocks; c for head,cylinder sector; or d for logical-device,block pairs, one entry per line.  For head,cylinder pairs, do not input the byte offset or BFI (bytes from index). 

−O opt Specify the output as either t for track or c for head,cylinder, sector, one entry per line. 

−t file Use the named file as input.  The format is either bad block numbers; single track numbers; head,cylinder pairs; or logical-device,block offset pairs, one number or pair per line.  For head,cylinder pairs, do not input the byte offset or BFI (bytes from index).  When the -t option is omitted, you are prompted to enter the data manually. 

−d ddefsdir
Use the directory ddefsdir rather than /etc/dskdefs/ to find the entry for devtype. 

devtype This is the device type found in /etc/dskdefs which uniquely identifies the device (for example, mcdcV).  See ddefs(1M). 

EXAMPLE

Convert the file badtrkfile from bad block numbers to head, cylinder, sector with the numbers referencing the first CDC WREN disk attached to the MVME328 controller. 

xformtrk -I t -O c -t badtrkfile mcdcV

FILES

/etc/dskdefs/∗
/tmp/xf.device

DIAGNOSTICS

Exit Codes:

0 - success  

1 - internal failure unknown type or device, general error

2 - I/O failure files not found, read/write failure, etc. 

3 - bad command usage syntax error within command line

4 - user interrupt  

NOTES

Currently only the b (bad block number) input option is supported.  The output format corresponding to the bad block number input format should be c (head, cylinder, sector). 

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