diff options
author | Bart Van Assche <bvanassche@google.com> | 2022-11-23 18:56:18 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2022-11-23 18:56:18 +0000 |
commit | 71b9916bab71328ec690b8677524e512d580d28f (patch) | |
tree | 207cdb23f8257e270a30143fde23d2033901581f /inhex/rep_zones.hex | |
parent | 8718296061e35ba33bf88847e7498f3d7e38f8f1 (diff) | |
parent | 448b67b18a80f8cc0feaaa669deaf169faa169f3 (diff) | |
download | sg3_utils-71b9916bab71328ec690b8677524e512d580d28f.tar.gz |
Merge remote-tracking branch 'aosp/upstream-main' into HEAD am: 448b67b18a
Original change: https://android-review.googlesource.com/c/platform/external/sg3_utils/+/2312210
Change-Id: I9653250a81928fffacf92bb5d9daffbc0ad7b2a8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'inhex/rep_zones.hex')
-rw-r--r-- | inhex/rep_zones.hex | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/inhex/rep_zones.hex b/inhex/rep_zones.hex new file mode 100644 index 00000000..702c93c5 --- /dev/null +++ b/inhex/rep_zones.hex @@ -0,0 +1,39 @@ +# This is the output (in hex) of the SCSI REPORT ZONES command +# from a simulated ZBC device from the scsi_debug driver in Linux. +# The parameters to the scsi_debug driver given to modprobe were: +# dev_size_mb=512 zbc=managed zone_size_mb=128 zone_nr_conv=1 +# +# The hex bytes in this file were generated by: +# sg_rep_zones /dev/sg1 -HHH > /tmp/rep_zones.hex +# where /dev/sg1 was a scsi_debug device. + +# An example invocation: +# sg_rep_zones --inhex=rep_zones.hex + + +# parameter data header (64 bytes) +00 00 01 00 00 00 00 00 00 00 00 00 00 0f ff ff +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 00 00 00 00 + +# first zone descriptor, zone type: conventional +01 00 00 00 00 00 00 00 00 00 00 00 00 04 00 00 +00 00 00 00 00 00 00 00 ff ff ff ff ff ff ff ff +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 +# second zone descriptor, zone type: sequential write required +02 10 00 00 00 00 00 00 00 00 00 00 00 04 00 00 +00 00 00 00 00 04 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 +# third zone descriptor, zone type: sequential write required +02 10 00 00 00 00 00 00 00 00 00 00 00 04 00 00 +00 00 00 00 00 08 00 00 00 00 00 00 00 08 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 +# fourth and last zone descriptor, zone type: sequential write required +02 10 00 00 00 00 00 00 00 00 00 00 00 04 00 00 +00 00 00 00 00 0c 00 00 00 00 00 00 00 0c 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 |