diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2021-09-26 01:56:11 +0000 |
---|---|---|
committer | Douglas Gilbert <dgilbert@interlog.com> | 2021-09-26 01:56:11 +0000 |
commit | 20704a875ab548d2861227256ed4ba9b068aa0ac (patch) | |
tree | ff17ab625bf0b78214a31660f7a024c0f3e921b2 /inhex | |
parent | 6aa4d33cce95c534665f3f8e057f13a69ab10835 (diff) | |
download | sg3_utils-20704a875ab548d2861227256ed4ba9b068aa0ac.tar.gz |
sg_vpd: zoned block dev char vpd: add zone alignment mode and zone starting LBA granularity; gcc -fanalyzer fixes: in sg_pt_linux.c + sg_write_x.c
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@914 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'inhex')
-rw-r--r-- | inhex/README | 4 | ||||
-rw-r--r-- | inhex/vpd_zbdc.hex | 25 |
2 files changed, 27 insertions, 2 deletions
diff --git a/inhex/README b/inhex/README index d7654665..cdc2e1ae 100644 --- a/inhex/README +++ b/inhex/README @@ -2,7 +2,7 @@ ======================================== The files in this folder contain hexadecimal data (in ASCII) and associated -comments (prefixed with the hash mark symbol ('#')). +comments (prefixed with the hash mark symbol: '#' ). The utility that each hex file is associated with can be determined by prepending "sg_" to these filenames then going to the 'src' folder (a @@ -47,4 +47,4 @@ that support --inhex and don't have hex data already. Special cases are also welcome. They help the author test this code. Douglas Gilbert -28th August 2019 +25th September 2021 diff --git a/inhex/vpd_zbdc.hex b/inhex/vpd_zbdc.hex new file mode 100644 index 00000000..4fb63497 --- /dev/null +++ b/inhex/vpd_zbdc.hex @@ -0,0 +1,25 @@ +# Zoned block device characteristics VPD page [0xb6] +# Host managed zoned block device model; pdt=0x14 +14 b6 00 3c +# ZBD extension=0; AAORb=0; URSWRZ=0 +00 00 00 00 + +# Optimal # of open sequential write preferred +00 00 00 00 + +# Optimal # of open non-sequentailly written sequential write preferred +00 00 00 00 + +# maximum # of open sequential write required +00 00 00 08 + +# Zone alignment mode=0 (therefore no gaps) +00 00 00 00 + +# Zone starting LBA granularity +00 00 00 02 00 00 00 00 + + +# pad to total length of 64 bytes +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 |