ATAPI InterfaceChapter 5
Write Filemark command
Bit | 7 | 6 | 5 | 4 |
| 3 | 2 | 1 | 0 |
Byte |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
0 |
|
|
| Operation code (10h) |
|
|
| ||
|
|
|
|
|
|
|
|
| |
1 |
|
|
| Reserved |
|
|
|
| |
|
|
|
|
|
|
|
|
| |
2 |
|
|
| Reserved |
|
|
|
| |
|
|
|
|
|
|
|
|
| |
3 |
|
|
| Reserved |
|
|
|
| |
|
|
|
|
|
|
|
|
| |
4 |
|
|
| Reserved |
|
|
| Count | |
|
|
|
|
|
|
|
|
| |
5 |
|
|
| Reserved |
|
|
|
| |
|
|
|
|
|
|
|
|
|
|
After receiving this command, the device sets DSC (0) and returns completion status. Any data remaining in the buffer is then written to tape (flush/ synchronize), and if the count is 1, a Filemark is written. In any case, an EOD is then written.
The Immed bit in the command packet is ignored, and the DSC bit is reset (0) after this command is accepted. The DSC bit is set (1) after the EOD has been successfully written. REQUEST SENSE can then be used to verify successful command completion.
STT8000A Product Manual | Page 61 |