User Guide

6-18 Ampex 1308911-02
Model No.
Running Head
dd2_getparam_drive DD-2 Utilities Manual Pages
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.
%blksize Data block size in bytes. The block size does not include the
two-byte checksum, if any.
%dbglevel Bit mask or string representing the current tape device driver debug
%v_dbglevel level. Zero unless tape device driver debug messages have been
enabled; see the dd2_setparam_drive manual page for additional
details.
Debug Level, Value, Strings
DST_DBG_NONE, 0x00000000, ":No debug messages:"
DST_DBG_MODULE, 0x00000001, ":Module install/remove messages:"
DST_DBG_AUTOCONFIG, 0x00000002, ":Autoconfiguration messages:"
DST_DBG_UNIT_ATTN, 0x00000004, ":Unit Attention messages:"
DST_DBG_OPEN, 0x00000008, ":Open() messages:"
DST_DBG_CLOSE, 0x00000010, ":Close() messages:"
DST_DBG_RW, 0x00000020, ":Read/write messages:"
DST_DBG_IOCTL, 0x00000040, ":Ioctl() messages:"
DST_DBG_RETRY, 0x00000080, ":Retry messages:"
DST_DBG_INTERRUPT, 0x00000100, ":Interrupt messages:"
DST_DBG_PARAMETERS, 0x00000200, ":Print command parameters:"
DST_DBG_RESULTS, 0x00000400, ":Print command result info:"
DST_DBG_STATUS, 0x00000800, ":Print device status info:"
DST_DBG_COMMAND, 0x00001000, ":Device command messages:"
DST_DBG_ABSTRACT, 0x00002000, ":Abstract interface messages:"
DST_DBG_LOG_SENSE, 0x00004000, ":Log sense info:"
DST_DBG_TIMING, 0x00008000, ":Timing messages:"
DST_DBG_ERROR, 0x01000000, ":show error condition:"
DST_DBG_ENTRY, 0x02000000, ":show entry/leave of functions:"
DST_DBG_ARGS, 0x04000000, ":show arguments:"
DST_DBG_WARNING, 0x08000000, ":show warning:"
%attrib Bit mask or string representing the current device special file
%v_attrib interface parameter settings.
Parameter, Value, Strings
DST_NO_REWIND, 0x00000001, ":Do not rewind on close device:"
DST_NO_FM, 0x00000002, ":Do not write filemarks on close:"
DST_NO_RESERVE, 0x00000004, ":Do not reserve unit for excl use:"
DST_NO_FLUSH, 0x00000008, ":Do not flush drive buffer:"
DST_NO_OPN_CMD, 0x00000010, ":Do not issue any commands on open:"
DST_SBLK_SIZE, 0x00000020, ":Force user defined block size on open:"
DST_REWIND_OPN, 0x00000040, ":Rewind on open to BOP:"
DST_SPC_FWD, 0x00000080, ":Space forward on close, if not at EOF:"
DST_APPEND_ONLY, 0x00000100, ":Allow writing at EOD only:"
DST_BYTE_SWAP, 0x00000200, ":Swap bytes of all data transferred:"
DST_DEF_POS_OPN, 0x00000400, ":If pos undefined on open, set to BOT:"
DST_NO_REFORMAT, 0x00000800, ":No re-formatting of formatted tapes:"
DST_SYNC_WRITE, 0x00001000, ":Sync buffer after every write:"