xref: /aosp_15_r20/external/sg3_utils/inhex/z_act_query.hex (revision 44704f698541f6367e81f991ef8bb54ccbf3fc18)
1# This is the output (in hex) of a simulated SCSI ZONE QUERY command.
2#
3# The hex bytes in this file may be generated by:
4#     sg_z_act_query /dev/sg1 -HHH > /tmp/z_act_query.hex
5# where /dev/sg1 was a SCSI device implementing ZBC-2.
6
7# An example invocation:
8#    sg_z_act_query --inhex=z_act_query.hex
9
10
11# parameter data header (64 bytes)
1200 00 00 80 00 00 00 80  80 00 03 00 00 00 00 00
1300 00 00 04 00 00 00 00  00 00 00 00 00 00 00 00
1400 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
1500 00 00 00 00 00 00 00  00 00 00 00 00 00 00 00
16
17# first zone activation descriptor, zone type: conventional
1801 00 01 00 00 00 00 00  00 00 00 00 00 00 00 04
1900 00 00 20 00 00 00 00  00 00 00 00 00 00 00 00
20# second zone activation descriptor, zone type: sequential write required
2102 10 02 00 00 00 00 00  00 00 00 00 00 00 00 05
2200 00 00 40 00 00 00 00  00 00 00 00 00 00 00 00
23# third zone descriptor, zone type: sequential write required
2402 10 03 00 00 00 00 00  00 00 00 00 00 00 00 06
2500 00 00 60 00 00 00 00  00 00 00 00 00 00 00 00
26# fourth and last zone activation descriptor, zone type: sequential write required
2702 10 04 00 00 00 00 00  00 00 00 00 00 00 00 07
2800 00 00 80 00 00 00 00  00 00 00 00 00 00 00 00
29