Write File Marks; Command Descriptor Block - Seagate Viper 200 Scsi Interface Manual

Lto tape drive
Table of Contents

Advertisement

SCSI Commands

WRITE FILE MARKS

Command Descriptor Block

Field Descriptions
The Write Filemarks command causes the specified number of filemarks to be
written to tape.
This command can be used to force all remaining buffered data blocks to be written
to tape without appending filemarks by specifying zero filemarks. When zero
filemarks are specified, the command does not return Good Status to the Initiator
until all buffered data blocks and filemarks are written correctly on the tape.
Otherwise, status is returned immediately.
Bits
Byte
7
6
0
Operation Code (10h)
1
2
3
4
5
Field
Bytes
Bits
Name
Operation
0
Code
Immed
1
0
Count
2-4
Reserved
Control
5
The Write File Marks command causes a sequence of file marks to be written at the
current logical position. The number of file marks to be written is indicated in the
Count field.
If the Immed flag is set, status is returned immediately, before the file marks are
written to tape. If the Immed flag is clear, the file marks and any buffered data is
written to tape before status is returned. If the Immed flag is clear and the Count field
is 0, then all buffered data is flushed to tape before the command is reported.
5
4
3
Reserved
Count, MSB
Count
Count, LSB
Control
Description
The Operation Code for Write Filemarks is 10h.
0 = Status is not returned until the tape is positioned.
1 = Status is returned as soon as the operation is initiated.
The number of filemarks to record.
All Reserved bits must be 0.
See Control Byte Format on page 18.
Page 125
2
1
0
Immed

Advertisement

Table of Contents
loading

Table of Contents