aboutsummaryrefslogtreecommitdiff
path: root/inhex
diff options
context:
space:
mode:
authorDouglas Gilbert <dgilbert@interlog.com>2020-11-17 02:16:17 +0000
committerDouglas Gilbert <dgilbert@interlog.com>2020-11-17 02:16:17 +0000
commitf277836fbdf1af79ef905fa357609f0e45db99dc (patch)
treec0de5bba8314d1b9ab969e96fcca1804776e8d1b /inhex
parent6276daf9b89e1d27b91438ff1e92482a1d2e7179 (diff)
downloadsg3_utils-f277836fbdf1af79ef905fa357609f0e45db99dc.tar.gz
sg_vpd: add Format presets and Concurrent positioning ranges pages; sg_inq+sg_vpd: add hot-pluggable field in standard Inquiry
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@867 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'inhex')
-rw-r--r--inhex/vpd_cpr.hex14
-rw-r--r--inhex/vpd_fp.hex27
2 files changed, 41 insertions, 0 deletions
diff --git a/inhex/vpd_cpr.hex b/inhex/vpd_cpr.hex
new file mode 100644
index 00000000..ec8aaa0a
--- /dev/null
+++ b/inhex/vpd_cpr.hex
@@ -0,0 +1,14 @@
+# Dummy data for Concurrent positioning ranges VPD page
+00 b9 00 7c 00 00 00 00
+ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+ 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+# after 64 byte header there is the first LBA range descriptor (32 bytes)
+01 02 00 00 00 00 00 00
+00 00 00 00 00 00 00 00
+00 00 00 00 10 00 00 00
+ 00 00 00 00 00 00 00 00
+# second LBA range descriptor (32 bytes)
+02 02 00 00 00 00 00 00
+00 00 00 00 10 00 00 00
+00 00 00 00 10 00 00 00
+ 00 00 00 00 00 00 00 00
diff --git a/inhex/vpd_fp.hex b/inhex/vpd_fp.hex
new file mode 100644
index 00000000..5bf71ff5
--- /dev/null
+++ b/inhex/vpd_fp.hex
@@ -0,0 +1,27 @@
+# Dummy data for Format presets VPD page
+00 b8 00 80
+
+# after 4 byte header here is the first Format preset descriptor (64 bytes)
+00 00 01 00
+01 0 0 00
+01 00 00 00
+0 0 0 0
+00 00 00 00 00 ff ff ff # last LBA
+0 0 0 0 0 0 0 0 0 0 0 0 0 0
+00 00 # FMPTINFO, Protection field usage and protection interval exp
+0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
+0 0 0 0 0 0 0 0
+
+# second Format preset descriptor (64 bytes)
+00 00 01 01
+02 0 0 00
+01 00 00 00
+0 0 0 0
+00 00 00 00 01 ff ff ff # last LBA
+0 0 0 0 0 0 0 0 0 0 0 0 0 0
+00 00 # FMPTINFO, Protection field usage and protection interval exp
+# host-aware zones schema type specific information
+5 ff
+0 0 0 0 0 0 0 0 0 0
+20 00 00 00
+0 0 0 0