29 lines
1.2 KiB
Plaintext
29 lines
1.2 KiB
Plaintext
|
|
# This is the output (in hex) of a simulated SCSI ZONE QUERY command.
|
||
|
|
#
|
||
|
|
# The hex bytes in this file may be generated by:
|
||
|
|
# sg_z_act_query /dev/sg1 -HHH > /tmp/z_act_query.hex
|
||
|
|
# where /dev/sg1 was a SCSI device implementing ZBC-2.
|
||
|
|
|
||
|
|
# An example invocation:
|
||
|
|
# sg_z_act_query --inhex=z_act_query.hex
|
||
|
|
|
||
|
|
|
||
|
|
# parameter data header (64 bytes)
|
||
|
|
00 00 00 80 00 00 00 80 80 00 03 00 00 00 00 00
|
||
|
|
00 00 00 04 00 00 00 00 00 00 00 00 00 00 00 00
|
||
|
|
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
||
|
|
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
|
||
|
|
|
||
|
|
# first zone activation descriptor, zone type: conventional
|
||
|
|
01 00 01 00 00 00 00 00 00 00 00 00 00 00 00 04
|
||
|
|
00 00 00 20 00 00 00 00 00 00 00 00 00 00 00 00
|
||
|
|
# second zone activation descriptor, zone type: sequential write required
|
||
|
|
02 10 02 00 00 00 00 00 00 00 00 00 00 00 00 05
|
||
|
|
00 00 00 40 00 00 00 00 00 00 00 00 00 00 00 00
|
||
|
|
# third zone descriptor, zone type: sequential write required
|
||
|
|
02 10 03 00 00 00 00 00 00 00 00 00 00 00 00 06
|
||
|
|
00 00 00 60 00 00 00 00 00 00 00 00 00 00 00 00
|
||
|
|
# fourth and last zone activation descriptor, zone type: sequential write required
|
||
|
|
02 10 04 00 00 00 00 00 00 00 00 00 00 00 00 07
|
||
|
|
00 00 00 80 00 00 00 00 00 00 00 00 00 00 00 00
|