User Guide
2-2 Ampex 1308911-02
Model No.
Running Head
Tape Device Driver Software Overview
Table 2-1. DST/DIS Tape Drive Software Operations
Operation DD-2 Utility libdd2 API Function
TAPE DRIVE STATUS
Get tape drive current state
dd2_status_drive
and
dst_status()
report more information than
dst_getstate()
dd2_status_drive
(See paragraph
6.18 on page 6-56
)
dst_getstate
()
(see paragraph 5.11 on page 5-40)
dst_status
()
(see paragraph 5.19 on page 5-59)
Get results of last I/O operation.
dd2_status_drive
(See paragraph
6.18 on page 6-56
)
dst_status
()
(see paragraph 5.19 on page 5-59)
TAPE CARTRIDGE
Format tape cartridge.
dd2_format_tape
(See paragraph
6.4 on page 6-9
)
dst_format
()
(see paragraph 5.5 on page 5-16)
Get tape cartridge format.
dd2_query_tape
See paragraph
6.10 on page 6-31)
dst_status
()
(see paragraph 5.19 on page 5-59)
Unload tape cartridge.
dd2_unload_tape
(See paragraph
6.19 on page 6-59)
dst_unload()
(see paragraph 5.20 on page 5-63)
TAPE POSITIONING
Get current position.
dd2_getpos_tape
(see paragraph 6.7 on page 6-20
dst_getpos
()
(see paragraph 5.10 on page 5-38)
dst_status
()
(see paragraph 5.19 on page 5-59)
Get remaining capacity of current
partition (with respect to current
position).
dst_status
()
(see paragraph 5.19 on page 5-59)
Convert position.
dst_convpos
()
(see paragraph 5.4 on page 5-13)
Set absolute position.
dd2_setpos_tape
(see paragraph 6.16 on page 6-49)
dst_setpos
()
(see paragraph 5.17 on page 5-54)
Set relative position.
dd2_space_tape
(see paragraph 6.17 on page 6-53)
dst_space
()
(see paragraph 5.18 on page 5-57)
Rewind tape to beginning of current
partition.
dd2_rewind_tape
(see paragraph 6.17 on page 6-53)
dst_rewind
()
(see paragraph 5.14 on page 5-46)
TAPE DRIVE CONFIGURATION
Get tape drive current data block size.
dd2_getparam_drive
(see paragraph 6.15 on page 6-46)
dst_getparam
()
(see paragraph 5.9 on page 5-35)
dst_status
()
(see paragraph 5.19 on page 5-59)
Get tape drive minimum and
maximum data block sizes.
dst_status()
(see paragraph 5.19 on page 5-59)