diff options
author | Douglas Gilbert <dgilbert@interlog.com> | 2022-07-27 19:58:23 +0000 |
---|---|---|
committer | Douglas Gilbert <dgilbert@interlog.com> | 2022-07-27 19:58:23 +0000 |
commit | aac31a343f55c0b40b7d46ba453201fff3430acb (patch) | |
tree | c9e35ef76fc2f3130e116a9a06142b8866aace6b /inhex | |
parent | 270cd7304dd379ee490df57120d281641c292398 (diff) | |
download | sg3_utils-aac31a343f55c0b40b7d46ba453201fff3430acb.tar.gz |
rescan-scsi-bus.sh: fix handling of '-I <secs>' option ; sg_inq+sg_vpd: more JSON work
git-svn-id: https://svn.bingwo.ca/repos/sg3_utils/trunk@962 6180dd3e-e324-4e3e-922d-17de1ae2f315
Diffstat (limited to 'inhex')
-rw-r--r-- | inhex/vpd_bdce.hex | 18 | ||||
-rw-r--r-- | inhex/vpd_lbpv.hex | 9 | ||||
-rw-r--r-- | inhex/vpd_ref.hex | 9 | ||||
-rw-r--r-- | inhex/vpd_sbl.hex | 10 | ||||
-rw-r--r-- | inhex/vpd_sdeb.hex | 2 | ||||
-rw-r--r-- | inhex/vpd_zbdc.hex | 4 |
6 files changed, 49 insertions, 3 deletions
diff --git a/inhex/vpd_bdce.hex b/inhex/vpd_bdce.hex new file mode 100644 index 00000000..d20c5304 --- /dev/null +++ b/inhex/vpd_bdce.hex @@ -0,0 +1,18 @@ +# +# This is a manufactured response to an INQUIRY for the +# Block device characteristics extension VPD page (0xb5 ["bdce"]). +# It may have been generated by a call like this: +# sg_vpd -p bdce /dev/sg3 -HHHH + +# Block device characteristics extension VPD page +00 b5 00 7c +00 03 05 0e 00 00 00 06 00 00 00 03 + +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 + +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 +00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 diff --git a/inhex/vpd_lbpv.hex b/inhex/vpd_lbpv.hex new file mode 100644 index 00000000..a89af17b --- /dev/null +++ b/inhex/vpd_lbpv.hex @@ -0,0 +1,9 @@ +# +# This is a manufactured response to an INQUIRY for the +# Logical Block Provisioning VPD page (0xb2 ["lbpv"]). It may +# have been generated by a call like this: +# sg_vpd -p lbpv /dev/sg3 -HHHH + +# Logical block provisioning VPD page +00 b2 00 10 00 01 00 00 +01 03 00 08 51 22 33 44 55 66 77 88 diff --git a/inhex/vpd_ref.hex b/inhex/vpd_ref.hex new file mode 100644 index 00000000..618f911f --- /dev/null +++ b/inhex/vpd_ref.hex @@ -0,0 +1,9 @@ +# +# This is a manufactured response to an INQUIRY for the +# Referrals VPD page (0xb3 ["ref"]). It may have been +# generated by a call like this: +# sg_vpd -p ref /dev/sg3 -HHHH + +# Referrals VPD page +00 b3 00 0c 00 00 00 00 +11 22 33 44 00 00 10 00 diff --git a/inhex/vpd_sbl.hex b/inhex/vpd_sbl.hex new file mode 100644 index 00000000..da9e9b1e --- /dev/null +++ b/inhex/vpd_sbl.hex @@ -0,0 +1,10 @@ +# +# This is a manufactured response to an INQUIRY for the +# Supported block lengths and protection types VPD page (0xb4 ["sbl"]). +# It may have been generated by a call like this: +# sg_vpd -p sbl /dev/sg3 -HHHH + +# Supported block lengths and protection types VPD page +00 b4 00 10 +00 00 02 00 47 07 00 00 +00 00 10 00 47 07 00 00 diff --git a/inhex/vpd_sdeb.hex b/inhex/vpd_sdeb.hex index ba5cd4ee..2f50c896 100644 --- a/inhex/vpd_sdeb.hex +++ b/inhex/vpd_sdeb.hex @@ -1,7 +1,7 @@ # # The VPD responses in this file where generated from a dummy device # (ramdisk) associated with the Linux scsi_debug driver as follows: -# sg_vpd -a /dev/sg0 -HHHH +# sg_vpd -a /dev/sg3 -HHHH # Supported VPD pages VPD page 00 00 00 0c 00 80 83 84 85 86 87 88 89 b0 b1 b2 diff --git a/inhex/vpd_zbdc.hex b/inhex/vpd_zbdc.hex index 371b0c3c..d8d1ad3b 100644 --- a/inhex/vpd_zbdc.hex +++ b/inhex/vpd_zbdc.hex @@ -17,8 +17,8 @@ # maximum # of open sequential write required 00 00 00 08 -# Zone alignment mode=0 (therefore no gaps) -00 00 00 00 +# Zone alignment mode=1 (constant zone lengths) +00 00 00 01 # Zone starting LBA granularity 00 00 00 02 00 00 00 00 |