User Guide

Ampex 1308911-02 6-57
DD-2 Utilities Manual Pages dd2_status_drive
The -stdout <output_spec> argument supports the keywords listed below. Some fields can
print in verbose or non-verbose style, depending on the keyword specified. Non-verbose style
(%keyword) prints only the returned value; verbose style (%v_keyword) replaces the
returned value with a descriptive string. If the data for a particular keyword is not available
,
na prints instead of the value (or string) for that keyword.
%tdstate Tape interface state, expressed as a hexadecimal number or string
%v_tdstate representing the bit mask returned from the tape device driver.
#define DST_READY 0x0001
#define DST_PRESENT 0x0002
#define DST_LOADED 0x0004
#define DST_WR_PROTECT 0x0008
#define DST_AT_BOP 0x0010
#define DST_AT_BOT 0x0020
#define DST_AT_EOP 0x0040
#define DST_AT_EOT 0x0080
#define DST_AT_EOD 0x0100
#define DST_FILEMARK 0x0200
#define DST_EW 0x0400
#define DST_DOUBLE_DENSITY 0x0800
#define DST_UNKNOWN_FMT 0x1000
#define DST_QUAD_DENSITY 0x2000
%tdrcode Tape drive result code displayed in hexadecimal or as a string. See
%v_tdrcode Table C-3 for definitions and descriptions.
%tdrclass Tape drive class code displayed in hexadecimal or as a string. See
%v_tdrclass Table C-6 for definitions and descriptions.
%tdmsicode Tape drive MSI (Mass Storage Interface) result code displayed in
%v_tdmsicode hexadecimal or as a string. See Table C-1 for definitions and
descriptions.
%tdmsrcode Tape drive MSR (Mass Storage Recorder) result code displayed in
%v_tdmsrcode hexadecimal or as a string. See Table C-2 for definitions and
descriptions.
%tdmsrstat Tape drive MSR (Mass Storage Recorder) status displayed in
%v_tdmsrstat hexadecimal or as a string. See Table C-4 for definitions and
descriptions.
%tdseverity Tape device driver severity message displayed in hexadecimal or as a
%v_tdseverity string. See Table C-7 for definitions and descriptions.
%bufdata Number of data bytes in tape drive buffer (see page 5-61 for definition).
%wrblksz Block size used when new files are written.