Files
rk35xx-android14/external/sg3_utils/inhex/z_act_query.hex
T
hmz007 36ed224bac Rockchip Anroid14_SDK 20240628-rkr5 (2556df1a)
Signed-off-by: hmz007 <hmz007@gmail.com>
Change-Id: Ib87fdbe7a0be7dc961af3500fe9ea4589a127f9f
2024-10-29 18:12:02 +08:00

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